/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #003366;
    /* Navy Blue */
    --primary-dark: #002244;
    --secondary-color: #00a69c;
    /* Teal Accent */
    --accent-color: #e69c3d;
    /* Orange/Gold */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: #d35400;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Header & Navbar */
header {
    background-color: var(--white);
    box-shadow: none;
    /* Shadow handled by navbar only if sticky, or remove entirely if static */
    position: relative;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background-color: #f8f9fa;
    color: var(--text-dark);
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info-left span,
.top-info-right span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    color: #555;
    font-weight: 500;
}

.top-info-left i,
.top-info-right i {
    margin-right: 8px;
    color: var(--secondary-color);
    /* Teal icons */
}

/* Main Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: var(--white);
}

.logo img {
    height: 55px;
}

.nav-links {
    display: flex;
    margin-left: auto;
    /* Push to right, before support block */
    margin-right: 40px;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.05rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.support-block {
    text-align: right;
    border-left: 1px solid #ddd;
    padding-left: 20px;
}

.support-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 2px;
}

.support-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Static Hero Section */
.hero-static {
    background-color: var(--white);
    padding-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: left;
}

.hero-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /* Align bottom of text with buttons, or center */
    width: 100%;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    gap: 20px;
}

.hero-top-row h1 {
    font-size: 3.5rem;
    /* Slightly smaller to fit */
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0;
    font-weight: 700;
    max-width: 700px;
}

.text-teal {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0;
    max-width: 700px;
    margin-left: 0;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Responsive for Hero Flex */
@media (max-width: 992px) {
    .hero-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }
}

.btn {
    background-color: var(--accent-color);
    /* Orange */
    padding: 15px 40px;
    border-radius: 4px;
    /* More square as per design */
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #d35400;
    transform: none;
    box-shadow: none;
}

.learn-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.learn-more-link i {
    margin-left: 8px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.learn-more-link:hover i {
    transform: translateX(5px);
}

.btn {
    background-color: var(--accent-color);
    /* Orange */
    padding: 15px 40px;
    border-radius: 4px;
    /* More square as per design */
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #d35400;
    transform: none;
    box-shadow: none;
}

.learn-more-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.learn-more-link i {
    margin-left: 8px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.learn-more-link:hover i {
    transform: translateX(5px);
}

.hero-image-container {
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Marquee */
.marquee-section {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 18px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-weight: 600;
    font-size: 1.1rem;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Services Section */
.services-section {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 20px;
}

/* Responsive adjustment for products grid */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

/* Icon box styles kept for Products section if needed, or remove if not */
.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-content h3,
.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-content p,
.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
}

.read-more:hover {
    letter-spacing: 1px;
}

.service-details {
    display: none;
    /* Hidden by default, useful for cleaner UI */
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    min-width: 50px;
}

.feature-text h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-text p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://content.jdmagicbox.com/comp/def_content_category/ac-repair-and-services-azure/360-f-821590643-skdlcwz7oswxyyblvvs1mhx3stvcx8dz-ac-repair-and-services-azure-12-pc353.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer style */
footer {
    background-color: #222;
    color: #eee;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -8px;
    left: 0;
}

.footer-col p {
    color: #bbb;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
        margin-left: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .carousel-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: var(--transition);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-align: center;
}

.modal p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}