/* =====================================================
   AJAS-KAY ENGINEERING - Modern Professional Stylesheet
   Color Palette: Blue (#0059B3), Dark (#232B32), Silver (#C0C0C0), White (#FFFFFF)
   ===================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-blue: #0059B3;
    --primary-blue-dark: #004489;
    --primary-blue-light: #1a6bc4;
    --accent-silver: #C0C0C0;
    --accent-silver-dark: #a0a0a0;
    --dark: #232B32;
    --white: #FFFFFF;
    --off-white: #f5f5f5;
    --light-gray: #e0e0e0;
    --dark-gray: #495057;
    --text-dark: #232B32;
    --text-light: #666666;
    --shadow: 0 10px 40px rgba(0, 89, 179, 0.15);
    --shadow-hover: 0 20px 60px rgba(0, 89, 179, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-silver);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 60px;
    height: auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-text span {
    color: var(--accent-silver);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    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: 3px;
    background: var(--accent-silver);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: var(--off-white);
    color: var(--primary-blue);
    padding-left: 30px;
}

.nav-cta {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 12px 30px !important;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
    border: none;
}

@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    display: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
}

/* When menu is active, show X icon */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================================================
   PAGE HEADER
   ===================================================== */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 89, 179, 0.85) 0%, rgba(0, 89, 179, 0.6) 100%);
    z-index: 1;
}

.page-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--white);
    width: 100%;
    max-width: 800px;
}

.page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* =====================================================
   FILTER BUTTONS
   ===================================================== */
.filter-btn {
    padding: 12px 25px;
    margin: 5px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
}

/* =====================================================
   PROJECT CARDS
   ===================================================== */
.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.project-info p {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

/* =====================================================
   TESTIMONIAL SCROLLER
   ===================================================== */
.testimonial-scroller {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.testimonial-card {
    min-width: 350px;
    max-width: 350px;
}

/* =====================================================
   TEAM CARDS
   ===================================================== */
.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-role {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.team-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* =====================================================
   FAQ ITEMS
   ===================================================== */
.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-item summary:hover {
    color: var(--primary-blue);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================================================
   NEWS CARDS
   ===================================================== */
.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
}

.news-date span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date small {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-link:hover {
    color: var(--dark);
}

.news-link i {
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-silver);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 89, 179, 0.15) 0%, rgba(0, 89, 179, 0.05) 100%);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.hero-slide.active .hero-content h1 {
    animation-delay: 0.3s;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.hero-slide.active .hero-content p {
    animation-delay: 0.5s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.hero-slide.active .hero-buttons {
    animation-delay: 0.7s;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-silver);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--accent-silver-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent-silver);
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-arrow {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    font-size: 1.5rem;
    border: 2px solid transparent;
}

.slider-arrow:hover {
    background: var(--accent-silver);
    color: var(--primary-blue);
    border-color: var(--accent-silver);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Service Showcase - New Layout with Images */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-showcase-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-showcase-card .service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-showcase-card .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-showcase-card:hover .service-image img {
    transform: scale(1.1);
}

.service-showcase-card .service-info {
    padding: 30px;
}

.service-showcase-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-showcase-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-showcase-card .read-more {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-showcase-card .read-more:hover {
    color: var(--dark);
    gap: 12px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    z-index: -1;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature i {
    width: 50px;
    height: 50px;
    background: var(--accent-silver);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* =====================================================
   PROJECTS SECTION
   ===================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 89, 179, 0.95), transparent);
    color: var(--white);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    margin-bottom: 8px;
}

.project-overlay p {
    opacity: 0.9;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
    background: var(--off-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card .quote {
    font-size: 4rem;
    color: var(--accent-silver);
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--primary-blue);
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-info {
    padding: 50px 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-silver);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.contact-info-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--accent-silver);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-silver);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--accent-silver);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 1100px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Mobile Menu - Always visible on small screens */
@media (max-width: 992px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
    }
    
    .navbar .container {
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
        padding: 10px 15px;
    }
    
    .navbar .logo {
        flex: 0 0 auto;
    }
    
    /* Show search and menu on mobile - use flex */
    .navbar > .container > div {
        display: flex !important;
        align-items: center;
        gap: 15px;
        order: 2;
    }
    
    .menu-toggle {
        order: 3;
        display: flex !important;
    }
    
    .logo {
        order: 1;
    }
    
    /* Nav menu full width on mobile */
    .nav-menu {
        order: 4;
    }
    
    /* Hide nav menu by default on mobile */
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        z-index: 9998;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Show nav menu when active */
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        position: relative;
        width: 100%;
    }
    
    .nav-menu .nav-link {
        padding: 15px 20px;
        display: block;
        width: 100%;
        border-bottom: 1px solid #eee;
        color: #232B32;
        font-size: 16px;
    }
    
    /* Dropdown submenu - hide by default */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: none;
        width: 100%;
        background: #f5f5f5;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    /* Show dropdown when active */
    .dropdown.active > .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li {
        margin: 0;
        width: 100%;
    }
    
    .dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        display: block;
        font-size: 14px;
        color: #666;
    }
    
    .dropdown-menu li a:hover {
        padding-left: 45px;
        background: #eee;
    }
    
    /* Dropdown toggle arrow */
    .dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome \6 Free';
        font-weight: 900;
        float: right;
        margin-top: 2px;
    }
    
    .dropdown.active > a::after {
        content: '\f106';
    }
    
    /* Menu toggle button - always visible on mobile */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
        z-index: 10000;
        background: none;
        border: none;
    }
    
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #0059B3;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle i {
        display: none;
    }
    
    /* Hamburger to X animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Show search and menu on mobile */
    .navbar .container > div {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }
    
    /* Mobile search input - smaller */
    .navbar #searchInput {
        width: 120px !important;
        padding: 8px 35px 8px 12px !important;
        font-size: 0.85rem !important;
    }
    
    /* Hero content adjustments */
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .hero-buttons {
        padding: 0 10px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
        padding: 0 15px;
    }
    
    .services-grid,
    .projects-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Adjust body padding for fixed navbar */
    body {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

/* =====================================================
   NEW SECTIONS RESPONSIVE STYLES
   ===================================================== */

/* Stats Counter Section */
@media (max-width: 992px) {
    .services-grid[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .services-grid[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
    }
    
    .services-grid[style*="grid-template-columns: repeat(4"] > div {
        padding: 15px;
    }
    
    .services-grid[style*="grid-template-columns: repeat(4"] > div:first-child div,
    .services-grid[style*="grid-template-columns: repeat(4"] > div:nth-child(2) div,
    .services-grid[style*="grid-template-columns: repeat(4"] > div:nth-child(3) div,
    .services-grid[style*="grid-template-columns: repeat(4"] > div:nth-child(4) div {
        font-size: 2.5rem;
    }
}

/* Why Choose Us Section */
@media (max-width: 992px) {
    .services-grid[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .services-grid[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
}

/* How It Works Section */
@media (max-width: 992px) {
    .services-grid[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .services-grid[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: 1fr !important;
    }
    
    .services-grid[style*="grid-template-columns: repeat(4"] > div {
        padding: 15px;
    }
}

/* Partners Section */
@media (max-width: 992px) {
    .services-grid[style*="grid-template-columns: repeat(5"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .services-grid[style*="grid-template-columns: repeat(5"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Newsletter Section */
@media (max-width: 992px) {
    .services-grid[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .services-grid[style*="grid-template-columns: 1fr 1fr"] > div:last-child {
        text-align: left;
    }
    
    .services-grid[style*="grid-template-columns: 1fr 1fr"] form {
        justify-content: flex-start;
    }
}

/* Enhanced Button Hover Effects */
.btn-primary:hover {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Enhanced Card Hover Effects */
.service-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 89, 179, 0.2);
}

/* Enhanced Footer Social Links */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Enhanced Search Box */
#searchInput:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 89, 179, 0.1);
}

/* Floating Buttons Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.floating-whatsapp {
    animation: pulse 2s infinite;
}

/* Newsletter Form Enhancement */
.newsletter-form input[type="email"]:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 89, 179, 0.2);
}

.newsletter-form button:hover {
    background: var(--primary-blue-dark) !important;
    transform: translateY(-2px);
}

/* Partners Cards Hover */
.services-grid > div[style*="background: var(--off-white)"]:hover {
    background: var(--white) !important;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}
