:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --secondary: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: var(--header-bg, transparent);
    box-shadow: none;
}

header.scrolled {
    background: var(--header-scrolled-bg, var(--white));
    padding: 0.8rem 0;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-text-stylish {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    line-height: 1;
    display: flex;
    flex-direction: column;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-text-stylish span {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
    color: var(--primary-light);
}

header.scrolled .logo-text-stylish {
    color: var(--secondary);
    text-shadow: none;
}

header.scrolled .logo-text-stylish span {
    color: var(--primary);
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

header.scrolled .logo img {
    filter: brightness(0);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

header.scrolled .nav-links a {
    color: var(--secondary);
    text-shadow: none;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--button-bg, var(--primary));
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.39);
}

.btn-primary:hover {
    background: var(--button-hover-bg, var(--primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.23);
}

.btn-outline {
    background: transparent;
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary) !important;
    transform: translateY(-2px);
}


header.scrolled .logo img {
    height: 45px;
    filter: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

header.scrolled .mobile-menu-btn {
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.3)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-header {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Section Common */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: block;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Detailed Services Layout */
.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-row .service-image {
    flex: 1;
}

.service-row .service-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.service-row .service-content {
    flex: 1;
}

.service-row .service-content h2 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-row .service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.service-features i {
    color: var(--primary);
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }
}

/* About Section */
.about-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 30px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--primary);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.info-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-list i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* New Footer Styling */
footer {
    background: var(--footer-bg, #1a2228); /* Matching the source site dark navy */
    color: #cbd5e1;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 4rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-services-list li {
    margin-bottom: 0.8rem;
}

.footer-services-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.footer-services-list a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-services-list i {
    font-size: 0.7rem;
    opacity: 0.5;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.opening-hours i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), #0f766e);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5);
    background: linear-gradient(135deg, #0f766e, var(--primary));
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.call-btn {
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-flex { flex-direction: column; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 1.5rem;
        text-align: center;
        border-top: 1px solid #f1f5f9;
    }
    .nav-links.active-mobile {
        display: flex;
    }
    .nav-links a {
        color: var(--secondary) !important;
        text-shadow: none !important;
        font-size: 1.1rem;
    }
    .mobile-menu-btn { display: block; }
    .hero { 
        text-align: center; 
        height: auto; 
        padding: 120px 0 60px;
        min-height: 80vh;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }
    
    .page-header {
        min-height: 35vh !important;
        padding: 100px 0 40px !important;
    }
    .page-header h1 {
        font-size: 2.5rem !important;
    }

    section {
        padding: 4rem 0;
    }

    .reveal-left, .reveal-right {
        transform: translateX(0); /* Disable horizontal slide on mobile to prevent overflow */
        opacity: 0;
        transform: translateY(20px); /* Switch to simple fade-up */
    }
    
    .reveal-left.active, .reveal-right.active {
        transform: translateY(0);
        opacity: 1;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Ensure no overflow from any element */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
}

main {
    overflow-x: hidden;
}
