/* ===================================
   CSS VARIABLES & GLOBAL STYLES
   =================================== */

/* Define color scheme and reusable values for consistency */
:root {
    --primary-color: #6929f2;
    --secondary-color: #2db0d2;
    --light-purple: #DBE9FA;
    --gray-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --transition-speed: 0.3s;
    --border-radius: 25px;
    --card-radius: 15px;
    --max-width: 1200px;
    --section-padding: 80px 100px;
}

/* Reset and base styles for consistent rendering across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   NAVIGATION BAR
   =================================== */

/* Main navigation container with flexible layout */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
    background: linear-gradient(135deg, #6929f2 0%, #5420c9 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Brand logo styling for visibility and hierarchy */
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
    cursor: pointer;
}

/* Navigation links container */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Individual navigation link styling with smooth transitions */
.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding: 5px 0;
}

/* Underline effect on hover for better user feedback */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Mobile menu toggle button - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger animation when menu is active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   BUTTONS
   =================================== */

/* Base button styling for all button types */
.btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

/* Primary action button with outline style */
.btn-primary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 176, 210, 0.3);
}

/* Secondary action button with solid fill */
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #248fa8;
    border-color: #248fa8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 176, 210, 0.4);
}

/* Outline button for secondary actions */
.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Video play button with icon */
.btn-play {
    background-color: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
}

.btn-play:hover {
    transform: scale(1.05);
}

.btn-play i {
    font-size: 20px;
}

/* ===================================
   HERO SECTION
   =================================== */

/* Main hero container with flexible layout for content and image */
.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 100px;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #6929f2 0%, #5420c9 100%);
    min-height: 600px;
}

/* Left side content area */
.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    color: var(--light-purple);
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
    animation: fadeInUp 1s ease;
}

/* Button group for call-to-action buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

/* Right side image area */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-speed) ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* ===================================
   COMMON SECTION STYLES
   =================================== */

/* Container for section content with max width */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 50px;
}

/* Section titles with consistent styling */
.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title.center {
    text-align: center;
}

/* Section subtitles for additional context */
.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.section-subtitle.center {
    text-align: center;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-description {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Checklist styling for about section features */
.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-list i {
    color: var(--secondary-color);
    font-size: 18px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Placeholder for about section image */
.image-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #6929f2 0%, #2db0d2 100%);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(105, 41, 242, 0.2);
}

.image-placeholder i {
    font-size: 120px;
    color: var(--white);
    opacity: 0.9;
}

/* ===================================
   STATISTICS SECTION
   =================================== */

/* Statistics section with gradient background for visual separation */
.stats-section {
    padding: 60px 100px;
    background: linear-gradient(135deg, #6929f2 0%, #5420c9 100%);
}

/* Grid layout for statistics boxes */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

/* Individual statistic box */
.stat-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-speed) ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-box i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Large animated number */
.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

/* Label below the number */
.stat-label {
    font-size: 16px;
    color: var(--light-purple);
    font-weight: 500;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
    padding: var(--section-padding);
    background-color: var(--gray-bg);
}

/* Grid layout for service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Individual service card styling */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--card-radius);
    text-align: center;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Service icon container */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #6929f2 0%, #2db0d2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-icon i {
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #6929f2 0%, #5420c9 100%);
    color: var(--white);
}

.features-section .section-title,
.features-section .section-subtitle {
    color: var(--white);
}

/* Grid layout for feature boxes */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* Individual feature box */
.feature-box {
    text-align: center;
    padding: 30px;
}

/* Large number indicator for features */
.feature-number {
    font-size: 60px;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-box p {
    font-size: 15px;
    color: var(--light-purple);
    line-height: 1.7;
}

/* ===================================
   CLIENTS SECTION
   =================================== */

/* Container for client logos */
.clients-section {
    background-color: var(--gray-bg);
    padding: var(--section-padding);
    text-align: center;
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Individual client logo styling with grayscale effect */
.clients-grid img {
    width: 120px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-speed) ease;
}

.clients-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #2db0d2 0%, #1a8ca8 100%);
    text-align: center;
}

.contact-content h2 {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
    opacity: 0.95;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   FOOTER
   =================================== */

/* Footer section with company information */
.footer {
    background-color: #1a1a2e;
    color: var(--white);
    padding: 60px 100px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: #b8b8d1;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #b8b8d1;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Contact information in footer */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b8b8d1;
}

.contact-info i {
    color: var(--secondary-color);
}

/* Social media links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer bottom copyright section */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8b8d1;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */

.portfolio-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

/* Grid layout for portfolio items */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Individual portfolio item with image and overlay */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

/* Overlay with project details */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform var(--transition-speed) ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    color: var(--light-purple);
    font-size: 15px;
}

/* ===================================
   TEAM SECTION
   =================================== */

.team-section {
    padding: var(--section-padding);
    background-color: var(--gray-bg);
}

/* Grid layout for team members */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* Individual team member card */
.team-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--card-radius);
    text-align: center;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Team member image placeholder */
.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #6929f2 0%, #2db0d2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-image i {
    font-size: 50px;
    color: var(--white);
}

.team-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.team-role {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Social links for team members */
.team-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.team-social a {
    width: 35px;
    height: 35px;
    background-color: var(--gray-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all var(--transition-speed) ease;
}

.team-social a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

/* Grid layout for testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Individual testimonial card */
.testimonial-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--card-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-speed) ease;
    border-left: 4px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--secondary-color);
}

/* Star rating display */
.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 18px;
}

/* Testimonial text content */
.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 25px;
}

/* Author information */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6929f2 0%, #2db0d2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-image i {
    font-size: 24px;
    color: var(--white);
}

.author-info h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6929f2 0%, #2db0d2 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(105, 41, 242, 0.3);
    transition: all var(--transition-speed) ease;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(105, 41, 242, 0.5);
}

.scroll-top.visible {
    display: flex;
}

/* ===================================
   ANIMATIONS
   =================================== */

/* Fade in and slide up animation for hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Fade in and slide from right for hero image */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet devices - adjust spacing and font sizes */
@media (max-width: 968px) {
    :root {
        --section-padding: 60px 50px;
    }

    .navbar {
        padding: 20px 50px;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
    }

    /* Show mobile menu toggle on tablets and below */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Stack navigation vertically on mobile */
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: linear-gradient(135deg, #6929f2 0%, #5420c9 100%);
        flex-direction: column;
        width: 250px;
        padding: 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-container {
        flex-direction: column;
        padding: 60px 50px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .image-placeholder {
        width: 300px;
        height: 300px;
    }

    .stats-section {
        padding: 50px 50px;
    }

    .stats-grid {
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .clients-grid {
        gap: 40px;
    }

    .footer {
        padding: 40px 50px 20px;
    }
}

/* Mobile devices - stack all elements vertically */
@media (max-width: 600px) {
    :root {
        --section-padding: 40px 20px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .navbar .logo {
        font-size: 20px;
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
        justify-content: center;
    }

    .hero-container {
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .image-placeholder i {
        font-size: 80px;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-box i {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .clients-grid {
        gap: 30px;
    }

    .clients-grid img {
        width: 80px;
    }

    .contact-content h2 {
        font-size: 28px;
    }

    .contact-content p {
        font-size: 16px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .footer {
        padding: 30px 20px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Very small devices - further optimization */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .clients-grid img {
        width: 60px;
    }

    .section-title {
        font-size: 24px;
    }
}