/* Design System & Variables */
:root {
    --primary: hsl(200, 85%, 38%);        /* Custom Teal Blue */
    --primary-light: hsl(200, 85%, 48%);
    --primary-dark: hsl(200, 85%, 28%);
    --secondary: hsl(12, 85%, 55%);        /* Warm Coral/Red from images */
    --secondary-hover: hsl(12, 85%, 45%);
    --bg-dark: #0f172a;                    /* Deep Slate */
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Variables */
    --header-height: 80px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--bg-dark);
}

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

button, input, textarea {
    font-family: inherit;
}

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

/* Utility Components */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* Header & Glassmorphic Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--bg-dark);
}

.logo-title .accent-text {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.social-icon.whatsapp { background-color: #25d366; }
.social-icon.maps { background-color: #ea4335; }
.social-icon.facebook { background-color: #1877f2; }
.social-icon.twitter { background-color: #1da1f2; }

.social-icon:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: rgba(200, 85, 38, 0.05);
    border: 1px solid rgba(200, 85, 38, 0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

.user-profile .avatar {
    font-size: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.user-greeting {
    color: var(--text-dark);
}

.user-name {
    font-weight: 600;
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--bg-dark);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 80px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
}

.hero-tag {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--secondary);
    display: block;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-desc {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
}

.hero-actions {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1.4s ease;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    opacity: 0.7;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

.scroll-indicator .scroll-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollMouse {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Services Section */
.services-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 38px;
    margin-bottom: 12px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Service Cards alternating layout */
.service-item.card-layout {
    display: flex;
    align-items: center;
    gap: 80px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: 50px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-item.card-layout:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.service-item.card-layout.reverse {
    flex-direction: row-reverse;
}

.service-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 380px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item.card-layout:hover .service-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.2));
}

.service-info {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-category {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.service-heading {
    font-size: 32px;
    margin-bottom: 6px;
}

.service-subheading {
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-description {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 20px;
    width: 100%;
}

.features-list li {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: var(--secondary);
    font-size: 16px;
}

/* About / Stats Section */
.about-section {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 100px 40px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.about-text {
    text-align: center;
    max-width: 800px;
}

.about-tag {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
}

.about-text h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 50px;
    line-height: 1.8;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Contact Us Section */
.contact-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--card-shadow);
}

.contact-form-side {
    flex: 1.2;
    padding: 60px;
}

.contact-title {
    font-size: 36px;
    margin-bottom: 8px;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--secondary);
}

.form-group input, 
.form-group textarea {
    padding: 12px 16px;
    font-size: 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(32, 120, 192, 0.15);
}

.btn-submit {
    align-self: flex-start;
    padding: 12px 35px;
    margin-top: 10px;
    background-color: hsl(40, 35%, 50%); /* Match original form button tone */
    color: var(--white);
}

.btn-submit:hover {
    background-color: hsl(40, 35%, 40%);
    box-shadow: 0 8px 20px rgba(160, 130, 80, 0.3);
}

.form-success-alert {
    display: none;
    padding: 15px;
    background-color: rgba(37, 211, 102, 0.1);
    color: #1e7e34;
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    align-items: center;
    gap: 10px;
}

.contact-image-side {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.1);
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-brand {
    max-width: 450px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.7;
}

.footer-info-grid {
    display: flex;
    gap: 80px;
}

.info-block h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-block h4 i {
    color: var(--secondary);
}

.info-block p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 8px;
    line-height: 1.6;
}

.info-block p a:hover {
    color: var(--secondary);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding: 30px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    opacity: 0.5;
}

/* Modal Styling */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 700px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.modal-backdrop.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.modal-header-banner {
    background-color: var(--primary);
    color: var(--white);
    padding: 35px 40px;
}

.modal-header-banner h3 {
    color: var(--white);
    font-size: 26px;
    margin-bottom: 5px;
}

.modal-header-banner p {
    font-size: 14px;
    opacity: 0.8;
}

.modal-body {
    padding: 40px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feat-box {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feat-box i {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feat-box h5 {
    font-size: 15px;
    margin-bottom: 6px;
}

.feat-box p {
    font-size: 13px;
    color: var(--text-muted);
}

.roi-list {
    list-style: none;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roi-list li {
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.roi-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.modal-footer {
    padding: 20px 40px;
    background-color: var(--bg-light);
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(32, 120, 192, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Scroll reveal initial states */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .service-item.card-layout {
        gap: 40px;
        padding: 40px;
    }
    .hero-title {
        font-size: 44px;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none; /* Hide standard menu on tablets/mobile */
    }
    
    /* Toggle active class logic can show full screen nav drawer */
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 0 40px;
    }
    
    .service-item.card-layout,
    .service-item.card-layout.reverse {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        padding: 30px;
    }
    
    .service-image-wrapper {
        height: 300px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-image-side {
        height: 300px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-info-grid {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-desc {
        font-size: 15px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .stat-grid {
        grid-template-columns: 1fr;
    }
    .social-links {
        display: none; /* Hide in header for mobile to preserve space */
    }
}
