*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    
}

html, body {
  width: 100%;
  overflow-x: hidden; 
}
  
  h1, h2, h3 {
    font-family: 'poppins', sans-serif; 
  }
  
  p {
    font-family: 'roboto', sans-serif; 
  }
  
  button {
    font-family: 'Roboto', sans-serif; 
    font-weight: 500; 
  }

  header {
    background-color: #f9f9ff;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    width: 124px;
    height: auto;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4285f4;
}

.nav-link.active {
    color: #333;
    font-weight: 500;
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f8f9ff;
    color: #4285f4;
    padding-left: 25px;
}

/* Contact Button */
.contact-btn {
    background: transparent;
    border: 2px solid #4285f4;
    color: #4285f4;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.contact-btn:hover {
    background-color: #4285f4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-toggle.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section Styles */
.hero {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #e9d5ff 50%, #6b21a8 100%);
    min-height: 600px;
    margin-top: 200px;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #0D0D12;
}

.highlight {
    background: #9d4edd;
    color: white;
    padding: 0 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 18px;
    color: #706D79;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: #A22CF7;
    color: #ffffff;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #8a2be2;
}

.arrow {
    margin-left: 5px;
    font-size: 28px;
    margin-top: 20px;
}

/* Tablet Responsive - 768px to 1024px */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 15px;
    }
    
    .logo img {
        width: 110px;
    }
    
    .contact-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

/* Mobile and Small Tablet Responsive - up to 768px */
@media screen and (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    header {
        padding: 0 15px;
    }
    
    .mobile-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        margin: 10px 0;
    }

    .nav-link {
        padding: 15px 20px;
        justify-content: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9ff;
        margin-top: 10px;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.dropdown-open .dropdown {
        max-height: 300px;
    }

    .nav-item:hover .dropdown {
        max-height: 0;
    }

    .nav-item.dropdown-open:hover .dropdown {
        max-height: 300px;
    }

    .dropdown-link {
        padding: 10px 40px;
        font-size: 14px;
    }

    .dropdown-link:hover {
        padding-left: 40px;
        background-color: #f0f0ff;
    }

    .contact-btn {
        margin: 20px auto 10px auto;
        padding: 14px 40px;
        font-size: 16px;
        display: block;
        text-align: center;
        width: fit-content;
        min-width: 140px;
    }
    
    .logo img {
        width: 100px;
    }

    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 15px;
    }
}

/* Small Mobile - up to 480px */
@media screen and (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    header {
        padding: 0 15px;
    }

    nav {
        height: 60px;
    }

    .nav-menu {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
    
    .logo img {
        width: 80px;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .contact-btn {
        padding: 12px 35px;
        font-size: 15px;
        margin: 15px auto 5px auto;
        display: block;
        width: fit-content;
        min-width: 120px;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Very Small Screens - up to 360px */
@media screen and (max-width: 360px) {
    header {
        padding: 0 10px;
    }
    
    .logo img {
        width: 70px;
    }
    
    .hamburger {
        width: 20px;
        height: 2px;
    }
}

/* Focus States for Accessibility */
.nav-link:focus,
.dropdown-link:focus,
.contact-btn:focus,
.mobile-toggle:focus {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
   
}

/* Services Section Styles */
.services-section {
    padding: 80px 0;
    background-color: #fff;
    
}

.services-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.text-content {
    flex: 1;
    max-width: 500px;
}

h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.initial-text, .additional-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-top: 10px;
}

.read-more-btn:hover {
    color: #9b4dff;
}

.arrow-icon {
    margin-left: 5px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.read-more-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.image-container {
    flex: 1;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.image-container img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}
.image-container:hover{
    transform: scale(1.05) rotateY(5deg);
}

/* Additional text transition */
.additional-text {
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}

/* Responsive styles */
@media (max-width: 991px) {
    .services-content {
        flex-direction: column;
    }

    .text-content, .image-container {
        max-width: 100%;
    }

    h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 60px 0;
    }

    h2 {
        font-size: 28px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

/* Services Header */
.services-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.services-title {
    flex: 0 0 45%;
}

.services-title h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #0D0D12;
}

.services-intro {
    flex: 0 0 45%;
}

.services-intro p {
    color: #706D79;
    font-size: 16px;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Service Card */
.service-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.service-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px 0;
}

.service-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.service-content p {
    color: #706D79;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-title, .services-intro {
        flex: 0 0 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-title h2 {
        font-size: 30px;
    }
    
    .service-image {
        height: 220px;
    }
}

.ios-app-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .ios-app-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 40px;
        }

        .ios-app-title {
            flex: 1;
            max-width: 600px;
        }

        .ios-app-title h1 {
            font-size: 46px;
            font-weight: 700;
            color: #0D0D12;
            margin-bottom: 20px;
        }

        .ios-app-description {
            flex: 1;
            max-width: 550px;
            color: #706D79;
            font-size: 18px;
            line-height: 1.6;
            margin-left: 100px;
            margin-top: 20px;
        }

        .ios-app-content-section {
            background-color: #f2f0ff;
            border-radius: 30px;
            padding: 40px;
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }

        .ios-app-image-container {
            flex: 1;
            min-width: 300px;
            perspective: 1000px; /* Add perspective for 3D effect */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .ios-app-image-wrapper {
            position: relative;
            transition: transform 0.5s ease, box-shadow 0.5s ease;
            max-width: 550px;
            width: 100%;
            transform-style: preserve-3d;
            border-radius: 15px;
            overflow: hidden;
        }

        .ios-app-image-wrapper:hover {
            transform: translateZ(30px) scale(1.05);
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
            z-index: 10;
        }

        .ios-app-image-container img {
            width: 100%;
            border-radius: 15px;
            display: block;
            transition: filter 0.5s ease;
        }

        .ios-app-image-wrapper:hover img {
            filter: brightness(1.05);
        }

        .ios-app-accordion-container {
            flex: 1;
            min-width: 300px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .ios-app-accordion-item {
            background-color: white;
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .ios-app-accordion-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .ios-app-accordion-header {
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }

        .ios-app-accordion-header h3 {
            font-size: 28px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .ios-app-arrow {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .ios-app-arrow svg {
            width: 16px;
            height: 16px;
        }

        .ios-app-accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 20px;
        }

        .ios-app-accordion-content p {
            padding-bottom: 20px;
            color: #666;
            font-size: 16px;
            line-height: 1.6;
        }

        .ios-app-active .ios-app-accordion-content {
            max-height: 200px;
        }

        .ios-app-active .ios-app-arrow {
            transform: rotate(180deg);
        }

        /* Add a subtle glow effect on image hover */
        .ios-app-image-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .ios-app-image-wrapper:hover::after {
            opacity: 1;
        }

        /* iOS App Section Responsive Design */
        /* Large Tablets and Small Desktops */
        @media screen and (max-width: 1024px) {
            .ios-app-container {
                padding: 30px 15px;
            }

            .ios-app-title h1 {
                font-size: 40px;
            }

            .ios-app-description {
                margin-left: 60px;
                font-size: 16px;
            }

            .ios-app-content-section {
                padding: 30px;
                gap: 30px;
            }

            .ios-app-accordion-header h3 {
                font-size: 24px;
            }
        }

        /* Tablets */
        @media screen and (max-width: 768px) {
            .ios-app-container {
                padding: 20px 10px;
            }

            .ios-app-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
                margin-bottom: 30px;
            }

            .ios-app-title {
                max-width: 100%;
            }

            .ios-app-title h1 {
                font-size: 36px;
            }

            .ios-app-description {
                max-width: 100%;
                margin-left: 0;
                margin-top: 0;
                font-size: 16px;
            }

            .ios-app-content-section {
                padding: 25px;
                gap: 25px;
                border-radius: 20px;
                flex-direction: column;
            }

            .ios-app-image-container {
                min-width: 100%;
                order: 2;
            }

            .ios-app-accordion-container {
                min-width: 100%;
                order: 1;
            }

            .ios-app-accordion-header h3 {
                font-size: 22px;
            }

            .ios-app-accordion-header {
                padding: 15px;
            }

            .ios-app-accordion-content p {
                font-size: 15px;
            }
        }

        /* Mobile Phones */
        @media screen and (max-width: 480px) {
            .ios-app-container {
                padding: 15px 10px;
            }

            .ios-app-header {
                margin-bottom: 20px;
            }

            .ios-app-title h1 {
                font-size: 28px;
                margin-bottom: 15px;
            }

            .ios-app-description {
                font-size: 14px;
            }

            .ios-app-content-section {
                padding: 20px;
                gap: 20px;
                border-radius: 15px;
            }

            .ios-app-image-container {
                min-width: 250px;
            }

            .ios-app-accordion-container {
                min-width: 250px;
            }

            .ios-app-accordion-header {
                padding: 12px;
            }

            .ios-app-accordion-header h3 {
                font-size: 18px;
            }

            .ios-app-accordion-content {
                padding: 0 12px;
            }

            .ios-app-accordion-content p {
                font-size: 14px;
                padding-bottom: 15px;
            }

            .ios-app-arrow {
                width: 16px;
                height: 16px;
            }

            .ios-app-arrow svg {
                width: 12px;
                height: 12px;
            }

            /* Reduce hover effects on mobile */
            .ios-app-image-wrapper:hover {
                transform: translateZ(10px) scale(1.02);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            }

            .ios-app-accordion-item:hover {
                transform: translateY(-1px);
                box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
            }
        }

        /* Extra Small Devices */
        @media screen and (max-width: 320px) {
            .ios-app-container {
                padding: 10px 5px;
            }

            .ios-app-title h1 {
                font-size: 24px;
            }

            .ios-app-description {
                font-size: 13px;
            }

            .ios-app-content-section {
                padding: 15px;
                gap: 15px;
            }

            .ios-app-accordion-header h3 {
                font-size: 16px;
            }

            .ios-app-accordion-header {
                padding: 10px;
            }

            .ios-app-accordion-content {
                padding: 0 10px;
            }

            .ios-app-accordion-content p {
                font-size: 13px;
            }

            /* Disable complex animations on very small screens */
            .ios-app-image-wrapper:hover {
                transform: scale(1.01);
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            }
        }

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Services Section */
/* Base styles */
.lead-section {
    padding: 80px 20px;
}

/* Services Header */
.lead-header2 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.lead-title2 {
    flex: 0 0 45%;
}

.lead-title2 h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #0D0D12;
}

.lead-intro2 {
    flex: 0 0 45%;
}

.lead-intro2 p {
    color: #706D79;
    font-size: 16px;
    line-height: 1.6;
}

/* Experience section styling */
.experience-section {
    padding: 80px 20px;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Image styling with 3D hover effect */
.experience-image-wrapper {
    flex: 1;
    perspective: 1000px; /* For 3D effect */
}

.iphone-image {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.iphone-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.iphone-image:hover {
    transform: scale(1.05) rotateY(5deg);
}

/* Content styling */
.experience-content {
    flex: 1;
    padding: 20px;
}

.experience-label {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.9;
    color: #959595;
}

.experience-heading {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #0D0D12;
}

.experience-text {
    margin-bottom: 30px;
    font-size: 18px;
    color: #706D79;
}

.experience-text p {
    margin-bottom: 15px;
}

/* Hidden text styling */
.hidden-text {
    display: none;
    margin-top: 15px;
}

.hidden-text.show {
    display: block;
}

/* Read more button styling */
.read-more-btn {
    background: transparent;
    color: #959595;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
}

.read-more-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

.read-more-btn:hover:after {
    width: 100%;
}

.arrow {
    margin-left: 6px;
    font-size: 24px;
    transition: transform 0.3s ease;
    margin-bottom: 22px;
}

.read-more-btn:hover .arrow {
    transform: translateX(5px);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .lead-section {
        padding: 100px 40px;
    }
    
    .experience-section {
        padding: 100px 40px;
    }
    
    .experience-container {
        gap: 80px;
    }
    
    .lead-title2 h2 {
        font-size: 48px;
    }
    
    .experience-heading {
        font-size: 48px;
    }
}

/* Desktop and Laptop (992px - 1199px) */
@media (max-width: 1199px) {
    .experience-container {
        gap: 50px;
    }
    
    .lead-title2 h2 {
        font-size: 32px;
    }
    
    .experience-heading {
        font-size: 38px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .lead-section {
        padding: 60px 15px;
    }
    
    .experience-section {
        padding: 60px 15px;
    }
    
    .lead-header2 {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .lead-title2,
    .lead-intro2 {
        flex: 1;
    }
    
    .experience-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .experience-content {
        padding: 0;
    }
    
    .lead-title2 h2 {
        font-size: 28px;
    }
    
    .experience-heading {
        font-size: 32px;
    }
    
    .experience-label {
        font-size: 16px;
    }
    
    .experience-text {
        font-size: 16px;
    }
    
    .iphone-image img {
        border-radius: 15px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
}

/* Mobile Large (480px - 767px) */
@media (max-width: 767px) {
    .lead-section {
        padding: 40px 15px;
    }
    
    .experience-section {
        padding: 40px 15px;
    }
    
    .lead-header2 {
        margin-bottom: 30px;
        gap: 20px;
    }
    
    .lead-title2 h2 {
        font-size: 24px;
    }
    
    .lead-intro2 p {
        font-size: 14px;
    }
    
    .experience-container {
        gap: 30px;
    }
    
    .experience-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .experience-label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .experience-text {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .read-more-btn {
        font-size: 14px;
    }
    
    .arrow {
        font-size: 20px;
        margin-bottom: 18px;
    }
    
    .iphone-image img {
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    /* Disable 3D hover effect on mobile for better performance */
    .iphone-image:hover {
        transform: scale(1.02);
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    .lead-section {
        padding: 30px 10px;
    }
    
    .experience-section {
        padding: 30px 10px;
    }
    
    .lead-header2 {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .lead-title2 h2 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .lead-intro2 p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .experience-container {
        gap: 25px;
    }
    
    .experience-heading {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .experience-label {
        font-size: 13px;
    }
    
    .experience-text {
        font-size: 13px;
    }
    
    .experience-text p {
        margin-bottom: 12px;
    }
    
    .read-more-btn {
        font-size: 13px;
    }
    
    .arrow {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .iphone-image img {
        border-radius: 10px;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
    .lead-section {
        padding: 25px 8px;
    }
    
    .experience-section {
        padding: 25px 8px;
    }
    
    .lead-title2 h2 {
        font-size: 18px;
    }
    
    .experience-heading {
        font-size: 22px;
    }
    
    .experience-text {
        font-size: 12px;
    }
    
    .lead-intro2 p {
        font-size: 12px;
    }
}

   /* Section styling */
   .feature-section {
    padding: 80px 20px;
    margin-bottom: 20px;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-container.reverse {
    flex-direction: row-reverse;
}

/* Label styling */
.feature-label {
    font-size: 18px;
    color: #959595;
    margin-bottom: 10px;
}

/* Heading styling */
.feature-heading {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #0D0D12;
}

/* Content styling */
.feature-content {
    flex: 1;
    padding: 20px;
}

.feature-text {
    margin-bottom: 30px;
    font-size: 18px;
    color: #706D79;
}

.feature-text p {
    margin-bottom: 15px;
}

/* Hidden text styling */
.hidden-text {
    display: none;
    margin-top: 15px;
}

.hidden-text.show {
    display: block;
}

/* Image styling with 3D hover effect */
.feature-image-wrapper {
    flex: 1;
    perspective: 1000px; /* For 3D effect */
}

.phone-image {
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
}

.phone-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.phone-image:hover {
    transform: scale(1.05) rotateY(5deg);
}

/* Read more button styling */
.read-more-btn {
    background: transparent;
    color: #0066cc;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
}

.read-more-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.read-more-btn:hover:after {
    width: 100%;
}

.arrow {
    margin-left: 6px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover .arrow {
    transform: translateX(5px);
}


.purple-bg .feature-label{
    font-size: 18px;
    color: #959595;
    margin-bottom: 10px;
}
.purple-bg .feature-heading{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #0D0D12;
}
.purple-bg .feature-text{
    margin-bottom: 30px;
    font-size: 18px;
    color: #706D79;
}

.purple-bg .read-more-btn {
    background: transparent;
    color: #0066cc;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
}

.purple-bg .read-more-btn:after {
    background-color: #0066cc;
    transition: width 0.3s ease;
}
.purple-bg .read-more-btn:hover .arrow{
    transform: translateX(5px);
    
}

/* Responsive styling */
@media (max-width: 992px) {
    .feature-container, 
    .feature-container.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-heading {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .feature-section {
        padding: 60px 20px;
    }
    
    .feature-heading {
        font-size: 28px;
    }
    
    .feature-text {
        font-size: 16px;
    }
}

/* Main container */
.technologies-section {
            padding: 80px 0;
            background-color: #fff;
        }

        .technology-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            gap: 50px;
        }

        /* Left Section */
        .tech-left {
            flex: 1;
            padding-right: 20px;
        }

        .subtitle {
            color: #666;
            font-size: 18px;
            display: block;
            margin-bottom: 15px;
        }

        .main-title {
            font-size: 36px;
            font-weight: 700;
            color: #222;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .description {
            color: #555;
            margin-bottom: 25px;
            font-size: 16px;
            line-height: 1.6;
        }

        /* Right Section */
        .tech-right {
            flex: 1.5;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            background-color: #f7f1ff;
            padding: 30px;
            border-radius: 15px;
        }

        .tech-card {
            padding: 20px;
            background-color: transparent;
            position: relative;
        }

        .tech-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #8a2be2;
            color: white;
            margin-bottom: 15px;
        }

        .tech-card h3 {
            font-size: 18px;
            margin-bottom: 10px;
            color: #2C374F;
            font-weight: 600;
        }

        .tech-card p {
            color: #706D79;
            font-size: 14px;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        /* Read More Button */
        .read-more-btn {
            display: inline-flex;
            align-items: center;
            background: none;
            border: none;
            color: #8a2be2;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .read-more-btn i {
            margin-left: 5px;
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .read-more-btn:hover {
            color: #6a1b9a;
        }

        .read-more-btn:hover i {
            transform: translateX(3px);
        }

        /* Hidden Content */
        .hidden-content {
            display: none;
        }

        .hidden-content.show {
            display: inline;
        }

        /* Technologies Section Responsive Design */
        /* Large Tablets and Small Desktops */
        @media screen and (max-width: 1024px) {
            .technologies-section {
                padding: 60px 0;
            }

            .technology-container {
                gap: 40px;
                padding: 0 15px;
            }

            .tech-left {
                padding-right: 15px;
            }

            .main-title {
                font-size: 32px;
            }

            .subtitle {
                font-size: 16px;
            }

            .tech-right {
                padding: 25px;
                gap: 20px;
            }

            .tech-card {
                padding: 18px;
            }
        }

        /* Tablets */
        @media screen and (max-width: 768px) {
            .technologies-section {
                padding: 50px 0;
            }

            .technology-container {
                flex-direction: column;
                gap: 30px;
                padding: 0 10px;
            }

            .tech-left {
                padding-right: 0;
                text-align: center;
            }

            .main-title {
                font-size: 28px;
            }

            .subtitle {
                font-size: 16px;
            }

            .description {
                font-size: 15px;
            }

            .tech-right {
                grid-template-columns: repeat(2, 1fr);
                padding: 20px;
                gap: 18px;
            }

            .tech-card {
                padding: 15px;
            }

            .tech-card h3 {
                font-size: 16px;
            }

            .tech-card p {
                font-size: 13px;
                margin-bottom: 20px;
            }

            .tech-icon {
                width: 35px;
                height: 35px;
                margin-bottom: 12px;
            }
        }

        /* Mobile Phones */
        @media screen and (max-width: 480px) {
            .technologies-section {
                padding: 40px 0;
            }

            .technology-container {
                gap: 25px;
                padding: 0 10px;
            }

            .main-title {
                font-size: 24px;
            }

            .subtitle {
                font-size: 14px;
            }

            .description {
                font-size: 14px;
            }

            .tech-right {
                grid-template-columns: 1fr;
                padding: 18px;
                gap: 15px;
            }

            .tech-card {
                padding: 12px;
            }

            .tech-card h3 {
                font-size: 15px;
                margin-bottom: 8px;
            }

            .tech-card p {
                font-size: 12px;
                margin-bottom: 15px;
            }

            .tech-icon {
                width: 32px;
                height: 32px;
                margin-bottom: 10px;
            }

            .read-more-btn {
                font-size: 13px;
            }
        }

        /* Extra Small Devices */
        @media screen and (max-width: 320px) {
            .technologies-section {
                padding: 30px 0;
            }

            .technology-container {
                gap: 20px;
                padding: 0 5px;
            }

            .main-title {
                font-size: 20px;
            }

            .subtitle {
                font-size: 13px;
            }

            .description {
                font-size: 13px;
            }

            .tech-right {
                padding: 15px;
                gap: 12px;
            }

            .tech-card {
                padding: 10px;
            }

            .tech-card h3 {
                font-size: 14px;
            }

            .tech-card p {
                font-size: 11px;
                margin-bottom: 12px;
            }

            .tech-icon {
                width: 28px;
                height: 28px;
                margin-bottom: 8px;
            }

            .read-more-btn {
                font-size: 12px;
            }
        }

/* Responsive */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }
    
    .tech-left {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .tech-right {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 28px;
    }
}

/* Base styles */
.sector-section {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.sector-container {
    width: 100%;
    padding: 0 20px;
}

/* Header Section */
.sector-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.title-container2 {
    flex: 1;
}

.description-container1 {
    flex: 1;
}

.section-title1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #0D0D12;
}

.section-description1 {
    font-size: 16px;
    color: #706D79;
    line-height: 1.6;
}

/* Diagram */
.services-diagram {
    position: relative;
    padding-top: 40px;
}

.diagram-top {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.diagram-box {
    max-width: 500px;
    padding: 15px 20px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Connector Lines */
.diagram-connector {
    position: relative;
    height: 100px;
}

.connector-line {
    position: absolute;
    background: transparent;
    border: 1px dashed #ccc;
}

.vertical {
    height: 50px;
    width: 1px;
    left: 50%;
    top: 0;
}

.horizontal {
    height: 1px;
    width: 80%;
    left: 10%;
    bottom: 20px;
}

/* Services Grid */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    position: relative;
}

/* Connection Lines to Grid Items */
.service-item::before {
    content: '';
    position: absolute;
    top: -20px;
    height: 20px;
    width: 1px;
    border-left: 1px dashed #ccc;
}

/* Icon Styling */
.service-icon-container {
    background: linear-gradient(-90deg, #833db1, #935bdd);
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon-container:hover {
    transform: perspective(500px) rotateY(10deg) scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: #1D1D20;
}

/* ================================
   RESPONSIVE MEDIA QUERIES
   ================================ */

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    .sector-section {
        max-width: 1400px;
        padding: 100px 0;
    }
    
    .section-title1 {
        font-size: 48px;
    }
    
    .section-description1 {
        font-size: 18px;
    }
    
    .sector-grid {
        gap: 40px;
    }
}

/* Desktop (1024px to 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .sector-section {
        padding: 60px 0;
    }
    
    .sector-header {
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .section-title1 {
        font-size: 36px;
    }
    
    .sector-grid {
        gap: 25px;
    }
}

/* Tablet Landscape (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .sector-section {
        padding: 50px 0;
    }
    
    .sector-container {
        padding: 0 30px;
    }
    
    .sector-header {
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .section-title1 {
        font-size: 32px;
    }
    
    .section-description1 {
        font-size: 15px;
    }
    
    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .diagram-box {
        max-width: 400px;
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .service-icon-container {
        width: 60px;
        height: 60px;
    }
    
    .service-icon {
        width: 25px;
        height: 25px;
    }
    
    .service-name {
        font-size: 15px;
    }
}

/* Tablet Portrait (481px to 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .sector-section {
        padding: 40px 0;
    }
    
    .sector-container {
        padding: 0 25px;
    }
    
    .sector-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .section-title1 {
        font-size: 28px;
    }
    
    .section-description1 {
        font-size: 14px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .diagram-box {
        max-width: 350px;
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .diagram-connector {
        height: 80px;
    }
    
    .vertical {
        height: 40px;
    }
    
    .service-icon-container {
        width: 55px;
        height: 55px;
    }
    
    .service-icon {
        width: 22px;
        height: 22px;
    }
    
    .service-name {
        font-size: 14px;
    }
    
    .service-item {
        padding: 10px;
    }
    
    .service-item::before {
        top: -15px;
        height: 15px;
    }
}

/* Mobile (320px to 480px) */
@media (max-width: 480px) {
    .sector-section {
        padding: 30px 0;
    }
    
    .sector-container {
        padding: 0 15px;
    }
    
    .sector-header {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .section-title1 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .section-description1 {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .services-diagram {
        padding-top: 30px;
    }
    
    .diagram-box {
        max-width: 280px;
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .diagram-connector {
        height: 60px;
    }
    
    .vertical {
        height: 30px;
    }
    
    .horizontal {
        width: 90%;
        left: 5%;
        bottom: 15px;
    }
    
    .sector-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        padding: 8px;
    }
    
    .service-item::before {
        top: -10px;
        height: 10px;
    }
    
    .service-icon-container {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .service-icon {
        width: 20px;
        height: 20px;
    }
    
    .service-name {
        font-size: 13px;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .sector-section {
        padding: 20px 0;
    }
    
    .sector-container {
        padding: 0 10px;
    }
    
    .section-title1 {
        font-size: 20px;
    }
    
    .section-description1 {
        font-size: 13px;
    }
    
    .diagram-box {
        max-width: 250px;
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .service-icon-container {
        width: 45px;
        height: 45px;
    }
    
    .service-icon {
        width: 18px;
        height: 18px;
    }
    
    .service-name {
        font-size: 12px;
    }
    
    .sector-grid {
        gap: 15px;
    }
}

/* High DPI/Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-icon-container {
        background: linear-gradient(-90deg, #833db1, #935bdd);
        background-size: 100% 100%;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .sector-section {
        padding: 30px 0;
    }
    
    .sector-header {
        margin-bottom: 25px;
    }
    
    .section-title1 {
        font-size: 26px;
    }
    
    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .diagram-connector {
        height: 50px;
    }
    
    .vertical {
        height: 25px;
    }
}

/* Print Styles */
@media print {
    .sector-section {
        padding: 20px 0;
        max-width: 100%;
    }
    
    .service-icon-container {
        background: #833db1 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .service-icon-container:hover {
        transform: none;
        box-shadow: none;
    }
    
    .connector-line {
        border-color: #000 !important;
    }
}



/* Base styles */
/* Base styles for all devices */
.headfaq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 2rem 1.5rem;
}

.faq-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #2d3748;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.faq-question {
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 500;
    color: #2d3748;
    transition: all 0.3s ease;
    position: relative;
    gap: 1rem;
    min-height: 60px;
}

.faq-question:hover {
    background: #f7fafc;
}

.faq-question:focus {
    outline: 2px solid #4299e1;
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: #4a5568;
    transition: transform 0.3s ease;
    font-weight: 300;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #4299e1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
}

.faq-answer p {
    color: #718096;
    font-size: clamp(0.875rem, 2.2vw, 1rem);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
}

/* Tablet styles (1024px and below) */
@media screen and (max-width: 1024px) {
    .headfaq-container {
        gap: 3rem;
        padding: 1.5rem 1rem;
        max-width: 960px;
    }
    
    .faq-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    
    .faq-item {
        border-radius: 10px;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: clamp(0.9rem, 2.3vw, 1rem);
    }
    
    .faq-item.active .faq-answer {
        padding: 1.25rem 1.5rem;
        max-height: 250px;
    }
}

/* Small tablet/large phone styles (768px and below) */
@media screen and (max-width: 768px) {
    .headfaq-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 1.5rem 1rem;
    }
    
    .faq-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .faq-container {
        gap: 0.875rem;
    }
    
    .faq-item {
        border-radius: 8px;
        margin: 0;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: clamp(0.875rem, 2.2vw, 0.95rem);
        min-height: 50px;
        gap: 0.75rem;
    }
    
    .faq-icon {
        font-size: 1.25rem;
        width: 20px;
        height: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 1.25rem;
        max-height: 200px;
    }
    
    .faq-answer p {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
        line-height: 1.5;
    }
}

/* Mobile styles (480px and below) */
@media screen and (max-width: 480px) {
    .headfaq-container {
        gap: 2rem;
        padding: 1rem 0.75rem;
    }
    
    .faq-title {
        font-size: clamp(1.75rem, 3.5vw, 2.25rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .faq-container {
        gap: 0.75rem;
    }
    
    .faq-item {
        border-radius: 6px;
        border-width: 1px;
    }
    
    .faq-question {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        min-height: 45px;
        gap: 0.5rem;
        line-height: 1.3;
    }
    
    .faq-icon {
        font-size: 1.1rem;
        width: 18px;
        height: 18px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0.875rem 1rem;
        max-height: 180px;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Extra small devices (320px and below) */
@media screen and (max-width: 320px) {
    .headfaq-container {
        padding: 0.75rem 0.5rem;
        gap: 1.5rem;
    }
    
    .faq-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .faq-container {
        gap: 0.5rem;
    }
    
    .faq-item {
        border-radius: 4px;
    }
    
    .faq-question {
        padding: 0.75rem 0.875rem;
        font-size: 0.8rem;
        min-height: 40px;
        gap: 0.375rem;
    }
    
    .faq-icon {
        font-size: 1rem;
        width: 16px;
        height: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0.75rem 0.875rem;
        max-height: 160px;
    }
    
    .faq-answer p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* High-resolution desktop styles (1200px and above) */
@media screen and (min-width: 1200px) {
    .headfaq-container {
        padding: 2.5rem 2rem;
        gap: 5rem;
    }
    
    .faq-title {
        font-size: 3.75rem;
    }
    
    .faq-question {
        padding: 2rem 2.5rem;
        font-size: 1.125rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 2rem 2.5rem;
        max-height: 350px;
    }
    
    .faq-answer p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

/* Print styles */
@media print {
    .headfaq-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .faq-item {
        border: 1px solid #000;
        margin-bottom: 1rem;
        break-inside: avoid;
    }
    
    .faq-question {
        padding: 1rem;
        background: #f5f5f5 !important;
    }
    
    .faq-answer {
        max-height: none !important;
        padding: 1rem !important;
        background: white !important;
    }
    
    .faq-icon {
        display: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-question,
    .faq-icon,
    .faq-answer {
        transition: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .faq-item {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .faq-question {
        color: #e2e8f0;
    }
    
    .faq-question:hover {
        background: #374151;
    }
    
    .faq-answer {
        background: #374151;
        border-color: #4a5568;
    }
    
    .faq-answer p {
        color: #cbd5e0;
    }
    
    .faq-title {
        color: #374151;
    }
    
    .faq-icon {
        color: #cbd5e0;
    }
    
    .faq-item.active .faq-icon {
        color: #63b3ed;
    }
}
  

/* footer section*/
/* Base styles */
/* Footer Styles */
.footer {
    background-color: #f8f9ff;
    padding: 60px 0 30px 0;
    color: #333;
  }
   
  .footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
  }
   
  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
  }
   
  /* Company Info Section */
  .footer-company {
    grid-column: span 1;
  }
   
  .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
  }
   
  .footer-logo img {
    width: 120px;
    height: auto;
    margin-right: 10px;
  }
   
  .company-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
  }
   
  /* Social Media Icons */
  .social-media {
    display: flex;
    gap: 15px;
    align-items: center;
  }
   
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    color: white;
  }
   
  .social-icon.linkedin {
    background-color: #0077b5;
  }
   
  .social-icon.twitter {
    background-color: #000;
  }
   
  .social-icon.facebook {
    background-color: #1877f2;
  }
   
  .social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  }
   
  .social-icon.threads {
    background-color: #000;
  }
   
  .social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
   
  /* Footer Sections */
  .footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
   
  .footer-links {
    list-style: none;
  }
   
  .footer-links li {
    margin-bottom: 12px;
  }
   
  .footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
  }
   
  .footer-links a:hover {
    color: #4285f4;
    padding-left: 5px;
  }
   
  /* Contact Section */
  .contact-infos {
    list-style: none;
  }
   
  .contact-infos li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #666;
    font-size: 15px;
  }
   
  .contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    color: #4285f4;
  }
   
  .contact-text {
    line-height: 1.5;
  }
   
  /* Footer Bottom */
  .footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    text-align: center;
  }
   
  .copyright {
    color: #666;
    font-size: 14px;
    font-weight: 500;
  }
   
  /* Tablet Styles */
  @media screen and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
   
    .footer-company {
        grid-column: span 1;
    }
   
    .footer-container {
        padding: 0 30px;
    }
  }
   
  /* Mobile Styles */
  @media screen and (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
    }
   
    .footer-container {
        padding: 0 20px;
    }
   
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
   
    .footer-company {
        grid-column: span 2;
        text-align: center;
        margin-bottom: 20px;
    }
   
    .company-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
   
    .social-media {
        justify-content: center;
    }
   
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }
   
    .footer-links a {
        font-size: 14px;
    }
   
    .contact-infos li {
        font-size: 14px;
        margin-bottom: 15px;
    }
   
    .contact-icon {
        width: 18px;
        height: 18px;
    }
  }
   
  /* Small Mobile Styles */
  @media screen and (max-width: 480px) {
    .footer {
        padding: 30px 0 15px 0;
    }
   
    .footer-container {
        padding: 0 15px;
    }
   
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }
   
    .footer-company {
        grid-column: span 1;
        margin-bottom: 15px;
    }
   
    .footer-logo img {
        width: 100px;
    }
   
    .company-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
   
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
   
    .footer-section {
        text-align: center;
    }
   
    .footer-links a {
        padding: 8px 0;
    }
   
    .contact-infos li {
        justify-content: flex-start;
        text-align: left;
    }
   
    .copyright {
        font-size: 13px;
        padding: 0 10px;
    }
  }
   
  /* Very Small Screens */
  @media screen and (max-width: 360px) {
    .footer-container {
        padding: 0 10px;
    }
   
    .social-media {
        gap: 10px;
    }
   
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
   
    .contact-infos li {
        margin-bottom: 12px;
    }
  }
   
  /* Landscape Mobile */
  @media screen and (max-height: 500px) and (orientation: landscape) {
    .footer {
        padding: 20px 0 10px 0;
    }
   
    .footer-content {
        margin-bottom: 15px;
    }
   
    .footer-section h3 {
        margin-bottom: 15px;
    }
  }
   