:root {
    --primary-blue: #273474;
    --accent-blue: #14396C;
    --accent-orange: #32C035; /* Primary accent for highlights, now green */
    --bg-white: #FFFFFF;
    --bg-light-grey: #F8F9FA;
    --section-blue-bg: #dcedff;
    --section-green-bg: #ebf9eb;
    --footer-bg: #212529;
    --text-primary: #273474; /* Dark text for general content */
    --text-secondary: #273474; /* Lighter dark text for subtle content */
    --border-color: #DEE2E6; /* Light grey for borders */
    --header-height: 75px;
    --font-family-poppins: 'Poppins', sans-serif;

    /* Light Theme Variables */
    --primary-black: var(--text-primary); /* Dark text for primary elements */
    --secondary-black: var(--text-secondary); /* Lighter dark text for secondary elements */
    --primary-orange: var(--accent-orange); /* Now green for highlights */
    --secondary-orange: #28a745; /* Deeper green for hover/active states */
    --text-light: var(--text-primary); /* Dark text on light backgrounds */
    --text-dark: var(--text-secondary); /* Even lighter dark text */
    --card-background: var(--bg-white); /* White for card backgrounds */
    --section-padding: 80px 0;
    --primary-blue-original: #007bff; /* Original blue, if still needed for some elements */
    --accent-orange-original: #FF6F00; /* Original orange, if still needed for some elements */
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light-grey); /* Light background for the body */
    color: var(--text-primary); /* Dark text for general body content */
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--primary-orange); /* Green links */
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-orange); /* Deeper green on hover */
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-orange); /* Green button */
    color: var(--bg-white); /* White text on green button */
}

.btn-primary:hover {
    background-color: var(--secondary-orange); /* Deeper green on hover */
    color: var(--bg-white);
}

/* Header */
.main-header {
    background-color: var(--bg-white); /* White background for the header */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header .logo {
    display: flex;
    align-items: center;
}

.main-header .logo img {
    height: 40px;
    margin-right: 10px;
}

.main-header .logo .logo-text {
    color: var(--text-primary); /* Dark text for logo on light background */
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    position: relative;
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-primary); /* Dark text for navigation links */
    font-weight: 600;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
    text-decoration: none;
}

.main-nav ul li a:hover {
    color: var(--primary-orange); /* Green hover effect */
}

.main-nav ul li a i {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

/* Register Button */
.main-header .register-btn {
    background-color: var(--primary-orange); /* Green button */
    color: var(--bg-white); /* White text */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.main-header .register-btn:hover {
    background-color: var(--secondary-orange); /* Slightly darker green on hover */
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white); /* White background for dropdown */
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--primary-orange); /* Green accent border */
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a,
.dropdown-menu li span {
    padding: 12px 20px;
    color: var(--text-primary); /* Dark text for dropdown items */
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.dropdown-menu li a:hover,
.dropdown-menu li span:hover {
    background-color: var(--bg-light-grey); /* Light grey hover background */
    color: var(--primary-orange); /* Green text on hover */
}

.dropdown-menu li span i {
    margin-right: 10px;
    color: var(--primary-orange); /* Green icon in dropdown */
}

.main-nav ul li .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    display: block;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary); /* Dark color for toggle on light header */
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Nav - active state */
.main-nav.active {
    transform: translateX(0);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background-color: var(--text-primary); /* Dark for active toggle */
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background-color: var(--text-primary); /* Dark for active toggle */
}

/* Hero Section */
.hero-section {
    padding: var(--section-padding);
    text-align: center;
    /* background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('https://via.placeholder.com/1920x800/E0E0E0/333333?text=Brand+Listing+Hero') no-repeat center center/cover; Lighter hero background */
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7));
    position: relative;
    overflow: hidden;
    color: var(--text-primary); /* Dark text on hero */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4); /* Light overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title-wrapper {
    height: 120px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-orange); /* Green title */
    transition: transform 1s ease-out, opacity 1s ease-out;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.hero-title.text1 {
    transform: translateY(0);
    opacity: 1;
}

.hero-title.text2 {
    transform: translateY(100%);
    opacity: 0;
}

.hero-title.text2.active {
    transform: translateY(0);
    opacity: 1;
}

.hero-title.text1.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary); /* Lighter dark text */
    max-width: 800px;
    margin: 0 auto 40px;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons .btn {
    margin: 0 10px;
}

/* Section General Styles */
.section-title {
    font-size: 2.5em;
    color: var(--text-primary); /* Dark text */
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange); /* Green accent */
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Service Section */
.service-section {
    padding: var(--section-padding);
    background-color: var(--bg-light-grey); /* Light background */
}

.service-section.alt-background {
    background-color: var(--bg-white); /* White for contrast */
}

.service-description {
    font-size: 1.1em;
    color: var(--text-secondary); /* Lighter dark text */
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--bg-white); /* White card background */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    border-top: 4px solid var(--primary-orange); /* Green accent */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-title {
    font-size: 1.6em;
    color: var(--primary-orange); /* Green title */
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-text {
    color: var(--text-secondary); /* Lighter dark text */
    font-size: 0.95em;
}

/* Benefits Section (Timeline Layout) */
.benefits-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    padding-top: 20px;
    margin-top: 50px;
}

/* Connectors for timeline - only for larger screens */
@media (min-width: 768px) {
    .benefits-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary-orange) 0%, rgba(50, 192, 53, 0) 100%); /* Green gradient */
        z-index: 0;
        opacity: 0.2;
    }
}

.benefits-timeline .feature-card {
    background-color: var(--bg-white); /* White card background */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color); /* Light border */
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.benefits-timeline .feature-card:hover {
    transform: translateY(-10px);
    background-color: var(--bg-light-grey); /* Slightly lighter on hover */
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-orange); /* Green circle */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 8px rgba(50, 192, 53, 0.2); /* Green shadow */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--secondary-orange); /* Deeper green on hover */
    transform: scale(1.05);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--bg-white); /* White icon color */
    fill: none;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background-color: var(--section-green-bg); /* Green background for CTA */
    text-align: center;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 30px 30px 30px 30px;
    margin: 30px auto;
    width: 1000px;
}

.cta-title {
    font-size: 2.8em;
    color: var(--primary-blue); /* Primary blue for CTA title */
    margin-bottom: 25px;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.1em;
    color: var(--text-primary); /* Dark text for subtitle */
    max-width: 900px;
    margin: 0 auto 40px;
}

/* Footer */
.main-footer {
    background-color: var(--bg-white); /* Lighter footer background */
    color: var(--text-dark); /* Dark text for footer */
    padding: 60px 0 20px;
    font-size: 0.9em;
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    /*border-bottom: 1px solid var(--border-color);*/
    /*padding-bottom: 40px;*/
}

.footer-col h3 {
    color: var(--text-primary); /* Dark text for footer headings */
    font-size: 1.2em;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-orange);
    margin-top: 10px;
}

.footer-col ul {
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary); /* Secondary dark text for footer links */
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
}

.footer-col p {
    margin-bottom: 10px;
    color: var(--text-secondary); /* Secondary dark text for footer paragraphs */
}

.footer-col p i {
    margin-right: 10px;
    color: var(--primary-orange);
}

.footer-about .social-links {
    margin-top: 20px;
}

.footer-about .social-links a {
    display: inline-block;
    color: var(--text-secondary); /* Secondary dark text for social links */
    font-size: 1.2em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-about .social-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary); /* Secondary dark text for copyright */
}

/* Modal Styling */
.form-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly lighter overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-modal {
    background-color: var(--bg-white); /* White modal background */
    padding: 5px;
    padding-right:20px;
    padding-left:20px;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Lighter shadow */
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.form-modal-overlay.active .form-modal {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--text-secondary); /* Lighter dark text for close button */
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal-btn:hover {
    color: var(--primary-orange); /* Green hover */
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 2.2em;
    color: var(--primary-orange); /* Green modal heading */
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-secondary); /* Lighter dark text */
    font-size: 1em;
}

.inquiry-form .form-group {
    margin-bottom: 20px;
}

.inquiry-form label {
    display: block;
    font-size: 1em;
    color: var(--text-primary); /* Dark text for labels */
    margin-bottom: 8px;
}

.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-light-grey); /* Light grey input background */
    color: var(--text-primary); /* Dark text for input */
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.inquiry-form input[type="text"]:focus,
.inquiry-form input[type="email"]:focus,
.inquiry-form input[type="tel"]:focus {
    border-color: var(--primary-orange); /* Green focus border */
    outline: none;
    box-shadow: 0 0 0 2px rgba(50, 192, 53, 0.3); /* Green shadow */
}

.inquiry-form .submit-btn {
    width: 100%;
    padding: 10px;
    font-size: 1.1em;
    margin-top: 15px;
    color: var(--bg-white);
    background-color: var(--accent-orange);
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav ul li {
        margin-left: 20px;
    }
    .hero-title {
        font-size: 2.8em;
    }
    .section-title {
        font-size: 2em;
    }
    .cta-title {
        font-size: 2.2em;
    }
    .main-footer .container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100% - 70px);
        background-color: var(--bg-white); /* White background for mobile nav */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        padding-top: 20px;
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color); /* Light border */
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        padding: 15px 20px;
        justify-content: center;
    }

    .main-nav .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: var(--bg-light-grey); /* Light grey for mobile dropdown */
        border-radius: 0;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .main-nav ul li.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }

    .main-nav .dropdown-menu li a,
    .main-nav .dropdown-menu li span {
        padding: 10px 20px 10px 40px;
        text-align: center;
    }
    .nav-register-btn {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .nav-register-btn .btn {
        width: 80%;
        margin-left: 0;
    }

    .hero-section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 2.2em;
    }
    .hero-subtitle {
        font-size: 1em;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .benefits-timeline {
        grid-template-columns: 1fr;
    }
    .benefits-timeline::before {
        left: 50%;
        transform: translateX(-50%);
        height: calc(100% - 80px);
    }

    .footer-bottom {
        flex-direction: column;
    }
    .footer-bottom .social-icons {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8em;
    }
    .hero-title-wrapper {
        height: 90px;
    }
    .section-title {
        font-size: 1.8em;
    }
    .cta-title {
        font-size: 1.8em;
    }
    .feature-title {
        font-size: 1.4em;
    }
    .btn {
        padding: 10px 20px;
    }
    .modal-header h2 {
        font-size: 1.8em;
    }
}

/* Animation for hero title text cycling */
@keyframes slideUpFadeOut {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
}

@keyframes slideDownFadeIn {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* style1.css additions for new media queries, based on style.css */

/* Larger devices (Desktops and large laptops, >= 1200px) */
@media (min-width: 1200px) {
    .container {
        padding: 0; /* Remove horizontal padding on very large screens if content allows */
    }
}

/* Tablet and Smaller Laptop devices (768px to 991px) */
@media (max-width: 991px) {
    /* Header & Navigation */
    .main-header .container {
        flex-wrap: nowrap; /* Prevent logo and toggle from wrapping */
        justify-content: space-between; /* Space out logo and toggle */
    }

    .main-header .logo {
        margin-bottom: 0; /* Remove margin-bottom */
        width: auto; /* Allow logo to take natural width */
    }

    .nav-toggle {
        display: block; /* Show hamburger icon */
        order: 2; /* Position after logo in flex order */
    }

    .main-nav {
        /* Mobile menu specific styles */
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100% - var(--header-height)); /* Full height below header */
        background-color: var(--bg-white); /* White background for mobile nav */
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Align items to the top */
        padding-top: 20px;
        transform: translateX(100%); /* Start off-screen to the right */
        transition: transform 0.4s ease-in-out;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto; /* Allow scrolling for long menus */
        display: flex; /* Keep flex for column arrangement */
    }

    .main-nav.active {
        transform: translateX(0); /* Slide in from the right */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0; /* Remove horizontal padding */
        margin-top: 20px; /* Space from top of nav */
    }

    .main-nav ul li {
        margin: 0; /* Remove horizontal margins */
        width: 100%; /* Full width for each list item */
        border-bottom: 1px solid var(--border-color); /* Separator */
        text-align: center; /* Center text */
    }

    .main-nav ul li:last-child {
        border-bottom: none; /* No border for the last item */
    }

    .main-nav ul li a {
        padding: 15px 20px; /* More vertical padding */
        font-size: 1.1em;
        color: var(--primary-black); /* Dark text for mobile links */
    }

    .main-nav ul li a:hover {
        background-color: var(--bg-light-grey); /* Light hover background */
        color: var(--primary-orange);
    }

    /* Dropdown for mobile (full width, no hover) */
    .dropdown-menu {
        position: static; /* Remove absolute positioning */
        box-shadow: none; /* No shadow */
        border-top: none; /* No accent border */
        border-radius: 0; /* No border radius */
        background-color: var(--bg-light-grey); /* Lighter background for sub-items */
        opacity: 1; /* Always visible when parent is clicked */
        visibility: visible;
        transform: none; /* No transform */
        max-height: 0; /* Initially hidden */
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        width: 100%; /* Full width */
    }

    .main-nav ul li.dropdown-active > .dropdown-menu {
        max-height: 500px; /* Arbitrary large height to show content */
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Lighter separator for sub-items */
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu li a,
    .dropdown-menu li span {
        padding: 12px 30px; /* Indent sub-items */
        font-size: 1em;
        color: var(--text-secondary); /* Slightly lighter text for sub-items */
        text-align: center;
    }

    .dropdown-menu li a:hover,
    .dropdown-menu li span:hover {
        background-color: var(--border-color); /* Even lighter hover for sub-items */
        color: var(--primary-orange);
    }

    .main-nav .register-btn {
        margin: 20px auto; /* Center button and add space */
        width: calc(100% - 40px); /* Adjust width */
        max-width: 300px;
        padding: 12px 20px;
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 0; /* Adjusted padding */
    }
    .hero-title {
        font-size: 2.5em; /* Adjusted font size */
    }
    .hero-subtitle {
        font-size: 1em; /* Adjusted font size */
    }

    /* About Section is not present in style1.css, so no media query mapping needed for it. */

    /* General Sections (assuming similar sections to style.css will use these) */
    .section-title {
        font-size: 2.2em;
    }

    /* Services Section */
    .service-features {
        grid-template-columns: 1fr; /* Single column */
    }

    /* Benefits Timeline Section */
    .benefits-timeline {
        grid-template-columns: 1fr; /* Single column */
    }
    .benefits-timeline::before {
        /* Re-center the timeline line */
        left: 50%;
        transform: translateX(-50%);
        height: calc(100% - 80px); /* Adjust height as needed */
    }

    /* CTA Section */
    .cta-section {
        width: auto; /* Remove fixed width */
        margin: 30px 20px; /* Add horizontal margin */
        padding: 40px 20px; /* Adjust padding */
    }
    .cta-title {
        font-size: 2.2em;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr; /* Single column */
        text-align: center;
    }

    .footer-col h3::after {
        margin: 10px auto 0 auto; /* Center the underline */
    }

    .footer-about .social-links a {
        margin: 0 10px; /* Adjust spacing */
    }
}


/* Small devices (Phones, less than 768px) */
@media (max-width: 767px) {
    body {
        font-size: 15px; /* Slightly smaller base font */
    }

    .container {
        padding: 0 15px; /* Reduce padding for smaller screens */
    }

    .main-header .logo .logo-text {
        font-size: 24px; /* Smaller logo text */
    }

    .main-header .logo img {
        height: 35px; /* Smaller logo image */
    }

    .main-nav ul li a {
        font-size: 1em;
    }

    /* The register button in mobile nav should be targeted if it's there */
    .main-nav .register-btn { /* Assuming a class for the mobile button */
        font-size: 0.95em;
        padding: 10px 15px;
    }

    /* Hero Section */
    .hero-title {
        font-size: 1.8em;
    }
    .hero-title-wrapper {
        height: 90px; /* Adjust height for smaller text */
    }
    .hero-subtitle {
        font-size: 0.85em;
    }
    .cta-buttons .btn {
        margin: 5px; /* Adjust spacing for buttons */
        padding: 10px 20px; /* Adjust padding for buttons */
    }

    /* Sections */
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .service-description {
        font-size: 0.9em;
    }
    .feature-card {
        padding: 25px;
    }
    .feature-title {
        font-size: 1.4em;
    }
    .feature-text {
        font-size: 0.9em;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.8em;
    }
    .cta-subtitle {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    /* Footer */
    .main-footer {
        padding: 40px 0 15px;
    }

    .footer-col h3 {
        font-size: 1.1em;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 0.85em;
    }

    .footer-bottom {
        font-size: 0.8em;
    }

    /* Modal */
    .form-modal {
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 1.8em;
    }

    .modal-header p {
        font-size: 0.9em;
    }

    .inquiry-form label {
        font-size: 0.95em;
    }

    .inquiry-form input {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    .inquiry-form .submit-btn {
        padding: 12px;
        font-size: 1em;
    }
}

/* style1.css additions for new media queries, based on style.css */

/* Larger devices (Desktops and large laptops, >= 1200px) */
@media (min-width: 1200px) {
    .container {
        padding: 0; /* Remove horizontal padding on very large screens if content allows */
    }
}

/* Tablet and Smaller Laptop devices (768px to 991px) */
@media (max-width: 991px) {
    /* Header & Navigation */
    .main-header .container {
        flex-wrap: nowrap; /* Prevent logo and toggle from wrapping */
        justify-content: space-between; /* Space out logo and toggle */
    }

    .main-header .logo {
        margin-bottom: 0; /* Remove margin-bottom */
        width: auto; /* Allow logo to take natural width */
    }

    .nav-toggle {
        display: block; /* Show hamburger icon */
        order: 2; /* Position after logo in flex order */
    }

    .main-nav {
        /* Mobile menu specific styles */
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100% - var(--header-height)); /* Full height below header */
        background-color: var(--bg-white); /* White background for mobile nav */
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Align items to the top */
        padding-top: 20px;
        transform: translateX(100%); /* Start off-screen to the right */
        transition: transform 0.4s ease-in-out;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto; /* Allow scrolling for long menus */
        display: flex; /* Keep flex for column arrangement */
    }

    .main-nav.active {
        transform: translateX(0); /* Slide in from the right */
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0; /* Remove horizontal padding */
        margin-top: 20px; /* Space from top of nav */
    }

    .main-nav ul li {
        margin: 0; /* Remove horizontal margins */
        width: 100%; /* Full width for each list item */
        border-bottom: 1px solid var(--border-color); /* Separator */
        text-align: center; /* Center text */
    }

    .main-nav ul li:last-child {
        border-bottom: none; /* No border for the last item */
    }

    .main-nav ul li a {
        padding: 15px 20px; /* More vertical padding */
        font-size: 1.1em;
        color: var(--primary-black); /* Dark text for mobile links */
    }

    .main-nav ul li a:hover {
        background-color: var(--bg-light-grey); /* Light hover background */
        color: var(--primary-orange);
    }

    /* Dropdown for mobile (full width, no hover) */
    .dropdown-menu {
        position: static; /* Remove absolute positioning */
        box-shadow: none; /* No shadow */
        border-top: none; /* No accent border */
        border-radius: 0; /* No border radius */
        background-color: var(--bg-light-grey); /* Lighter background for sub-items */
        opacity: 1; /* Always visible when parent is clicked */
        visibility: visible;
        transform: none; /* No transform */
        max-height: 0; /* Initially hidden */
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        width: 100%; /* Full width */
    }

    .main-nav ul li.dropdown-active > .dropdown-menu {
        max-height: 500px; /* Arbitrary large height to show content */
         max-height: 500px; /* Arbitrary large height to show content */
    padding: 10px 0; 
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Lighter separator for sub-items */
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu li a,
    .dropdown-menu li span {
        padding: 12px 30px; /* Indent sub-items */
        font-size: 1em;
        color: var(--text-secondary); /* Slightly lighter text for sub-items */
        text-align: center;
    }

    .dropdown-menu li a:hover,
    .dropdown-menu li span:hover {
        background-color: var(--border-color); /* Even lighter hover for sub-items */
        color: var(--primary-orange);
    }

    .main-nav .register-btn {
        margin: 20px auto; /* Center button and add space */
        width: calc(100% - 40px); /* Adjust width */
        max-width: 300px;
        padding: 12px 20px;
        text-align: center;
    }

    /* Hero Section */
    .hero-section {
        padding: 60px 0; /* Adjusted padding */
    }
    .hero-title {
        font-size: 2.5em; /* Adjusted font size */
    }
    .hero-subtitle {
        font-size: 1em; /* Adjusted font size */
    }

    /* About Section is not present in style1.css, so no media query mapping needed for it. */

    /* General Sections (assuming similar sections to style.css will use these) */
    .section-title {
        font-size: 2.2em;
    }

    /* Services Section */
    .service-features {
        grid-template-columns: 1fr; /* Single column */
    }

    /* Benefits Timeline Section */
    .benefits-timeline {
        grid-template-columns: 1fr; /* Single column */
    }
    .benefits-timeline::before {
        /* Re-center the timeline line */
        left: 50%;
        transform: translateX(-50%);
        height: calc(100% - 80px); /* Adjust height as needed */
    }

    /* CTA Section */
    .cta-section {
        width: auto; /* Remove fixed width */
        margin: 30px 20px; /* Add horizontal margin */
        padding: 40px 20px; /* Adjust padding */
    }
    .cta-title {
        font-size: 2.2em;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr; /* Single column */
        text-align: center;
    }

    .footer-col h3::after {
        margin: 10px auto 0 auto; /* Center the underline */
    }

    .footer-about .social-links a {
        margin: 0 10px; /* Adjust spacing */
    }
}


/* Small devices (Phones, less than 768px) */
@media (max-width: 767px) {
    body {
        font-size: 15px; /* Slightly smaller base font */
    }

    .container {
        padding: 0 15px; /* Reduce padding for smaller screens */
    }

    .main-header .logo .logo-text {
        font-size: 24px; /* Smaller logo text */
    }

    .main-header .logo img {
        height: 35px; /* Smaller logo image */
    }

    .main-nav ul li a {
        font-size: 1em;
    }

    /* The register button in mobile nav should be targeted if it's there */
    .main-nav .register-btn { /* Assuming a class for the mobile button */
        font-size: 0.95em;
        padding: 10px 15px;
    }

    /* Hero Section */
    .hero-title {
        font-size: 1.8em;
    }
    .hero-title-wrapper {
        height: 90px; /* Adjust height for smaller text */
    }
    .hero-subtitle {
        font-size: 0.85em;
    }
    .cta-buttons .btn {
        margin: 5px; /* Adjust spacing for buttons */
        padding: 10px 20px; /* Adjust padding for buttons */
    }

    /* Sections */
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .service-description {
        font-size: 0.9em;
    }
    .feature-card {
        padding: 25px;
    }
    .feature-title {
        font-size: 1.4em;
    }
    .feature-text {
        font-size: 0.9em;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.8em;
    }
    .cta-subtitle {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    /* Footer */
    .main-footer {
        padding: 40px 0 15px;
    }

    .footer-col h3 {
        font-size: 1.1em;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 0.85em;
    }

    .footer-bottom {
        font-size: 0.8em;
    }

    /* Modal */
    .form-modal {
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 1.8em;
    }

    .modal-header p {
        font-size: 0.9em;
    }

    .inquiry-form label {
        font-size: 0.95em;
    }

    .inquiry-form input {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    .inquiry-form .submit-btn {
        padding: 12px;
        font-size: 1em;
    }
}

/* Popup Specific Styles */
.popup-form-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); 
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); 
}

.popup-form-content {
    background: var(--bg-white);
    color: var(--text-primary);
    padding: 30px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: var(--font-family-poppins);
}

.popup-form-content h2 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 700;
}

.close-popup-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5em;
    color: var(--primary-blue);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease-in-out;
}

.close-popup-btn:hover {
    color: var(--accent-orange);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px; /* Space between form groups */
}

.form-group {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95em;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1em;
    color: var(--text-primary);
    background-color: var(--bg-white);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 52, 116, 0.2); 
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.1); 
    accent-color: var(--accent-orange); }

.form-group input[type="checkbox"] + label {
    display: inline-block;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
}

.submit-button {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(39, 52, 116, 0.2);
}

.submit-button:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}


.form-group.checkbox-group {
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
}

.form-group.checkbox-group label {
    margin-bottom: 0; 
    margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .popup-form-content {
        width: 95%;
        padding: 25px 20px;
    }

    .popup-form-content h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .close-popup-btn {
        font-size: 2em;
        top: 10px;
        right: 10px;
    }

    .submit-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}