/* ---- Global and Base Styles ---- */

:root {
    --primary-color: #0d47a1;
    --primary-color-dark: #07306d;
    --accent-color: #ffb300;
    --background-white: #ffffff;
    --background-light: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--secondary-color);
}

h1 { font-weight: 800; }

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-flex; /* Changed to inline-flex for better icon alignment */
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent; /* Added border for secondary button consistency */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    gap: 8px; /* Space between text and icon */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a56ad;
    border-color: #0a56ad;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header & Navigation */
.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--white-color);
    font-size: 0.9rem;
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-number i {
    color: var(--primary-color);
    margin-right: 8px;
}

.social-media a {
    color: var(--white-color);
    font-size: 1.1rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--primary-color);
}

.navbar {
    background-color: var(--white-color);
    padding: 15px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    position: relative;
}

.nav-links li a.active, .nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li a.active::after, .nav-links li a:hover::after {
    width: 100%;
}

.menu-toggle, .close-btn-container, .overlay {
    display: none;
}

        /* Base styles from your provided CSS */
        body {
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            background-color: #1a365d;
        }
        .bg-dark-teal {
            background-color: #1a365d;
        }
        .bg-gradient-teal {
            background: linear-gradient(135deg, #1a365d 0%, #0f284a 100%);
        }
        .text-yellow-accent {
            color: #fcd34d;
        }
        .text-white-light {
            color: #e2e8f0;
        }
        .text-white {
            color: #ffffff;
        }
        .bg-white {
            background-color: #ffffff;
        }
        .text-gray-800 {
            color: #2d3748;
        }
        /* Wave Separator - Static styles */
        .wave-separator {
            position: relative;
            width: 100%;
            height: 100px;
            overflow: hidden;
            z-index: 10;
        }
        .wave-separator svg {
            position: absolute;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
        }
        .wave-top-to-white .wave-path {
            fill: #ffffff;
        }
        .wave-bottom-from-white .wave-path {
            fill: #1a365d;
        }
        /* Mobile menu */
        
        /* Footer Styles for Desktop (default) */
        .main-footer {
            background-color: #1a365d; /* Assuming this is your background color */
            color: #fff;
            padding: 30px 0 10px 75px;
            margin-top: auto;
            border-bottom: 1px solid #4a5d72;
            padding-bottom: 30px;
            margin-bottom: 20px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .footer-section h3 {
            color: #fff;
            font-size: 1.1rem;
            margin-bottom: 15px;
            font-weight: bolder;
        }

        .footer-section.quick-links,
        .footer-section.find-us {
            text-align: center;
        }

        .footer-section.quick-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: center;
        }
        .footer-section.find-us .social-links {
            justify-content: center;
        }

        
        .footer-section {
            margin-bottom: 20px;
        }
        .footer-section h3 {
            color: var(--white-color);
            font-size: 1.1rem;
            margin-bottom: 15px;
            font-weight: bolder;
        }
        .footer-section p {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 8px;
        }
        .footer-section a {
            color: var(--white-color);
            opacity: 0.8;
            text-decoration: none;
        }
        .footer-section a:hover {
            color: var(--primary-color);
            opacity: 1;
            text-decoration: underline;
        }
        .footer-logo {
            height: 40px;
            margin-bottom: 10px;
        }
        .company-name {
            font-weight: 600;
            margin: 0;
            font-size: 0.9rem;
        }
        .address-lines {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        .address-lines {
            display: flex;
            align-items: flex-start; /* Aligns the icon and text to the top of the line */
            gap: 10px; /* Adjusts the space between the icon and the text */
            flex-direction: row; /* Arranges children horizontally */
        }
        .address-lines i {
            flex-shrink: 0; /* Prevents the icon from shrinking */
            margin-top: 5px; /* Adds space above the icon to align it better with the text */
        }
        .address-lines span {
            display: block; /* Ensures the text wraps correctly */
        }
        .social-links {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        .social-links a {
            font-size: 1rem;
        }
        .footer-bottom {
            text-align: center;
            font-size: 0.8rem;
            color: #aaa;
            padding-top: 20px;
        }
        .footer-section.quick-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: center;
        }
        .footer-section.quick-links ul li {
            margin-bottom: 6px;
        }
        .footer-section.quick-links ul li a {
            font-size: 0.9rem;
        }
        /* Footer changes for mobile screens */
        @media (max-width: 768px) {
            /* Target the specific sections */
            .footer-section.quick-links,
            .footer-section.find-us {
                text-align: left !important;
            }
            
            /* Align list items and social icons to the left */
            .footer-section.quick-links ul, 
            .footer-section.find-us .social-links {
                justify-content: flex-start !important;
                align-items: flex-start !important;
                text-align: left !important;
            }
        }
        /* Footer styles for desktop and larger screens */
        .footer-section.quick-links,
        .footer-section.find-us {
            text-align: center; /* Center these sections on desktop */
        }

        .footer-section.quick-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: center;
        }

        .footer-section.find-us .social-links {
            justify-content: center; /* Center social icons on desktop */
        }

        /* Footer styles for mobile screens */
        @media (max-width: 768px) {
            .footer-section.quick-links,
            .footer-section.find-us {
                text-align: left; /* Left align these sections on mobile */
            }

            .footer-section.quick-links ul,
            .footer-section.find-us .social-links {
                text-align: left;
                justify-content: flex-start; /* Left align social icons on mobile */
            }
        }

        @media (max-width: 768px) {
        /* Adjust padding for the entire footer on mobile */
        footer {
            padding: 30px 20px 10px;
        }

        /* Make the grid columns stack on top of each other */
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        /* Left-align all footer sections on mobile */
        .footer-section,
        .footer-section h3,
        .footer-section.quick-links,
        .footer-section.find-us {
            text-align: left;
        }

        /* Left-align specific elements */
        .footer-section.quick-links ul,
        .footer-section.find-us .social-links {
            justify-content: flex-start;
            align-items: flex-start;
        }
    }