/* === General Layout === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  color: #fff;
  transition: all 0.3s ease;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

nav a:hover::before {
  left: 100%;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

nav a.active {
  background: rgba(255, 255, 255, 0.2);
  color: #90c90a;
}

.burger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider img {
  width: 33.333%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.7);
}

/* Hero Section Styles */
        .hero-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 5;
            color: white;
            width: 90%;
            max-width: 1200px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 4rem;
        }

        .hero-left {
            flex: 1;
            max-width: 500px;
        }

        .hero-left h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            margin-top: 1.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            background: linear-gradient(45deg, #fff, #4ecdc4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
        }

        .hero-left p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
        }

        .get-started-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            background: linear-gradient(45deg, #4ecdc4, #44a08d);
            color: white;
            padding: 1.2rem 2.5rem;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .get-started-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .get-started-btn:hover::before {
            left: 100%;
        }

        .get-started-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(78, 205, 196, 0.4);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .btn-icon {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .get-started-btn:hover .btn-icon {
            transform: translateX(5px);
        }

        .hero-right {
            flex: 1;
            max-width: 500px;
        }

        .welcome-box {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(2px);
            padding: 2.5rem 3rem;
            border-radius: 30px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            animation: fadeZoomIn 1.2s ease-out forwards;
            opacity: 0;
            text-align: center;
        }

        .welcome-box h2 {
            color: white;
            margin: 0;
            font-size: clamp(1.5rem, 3vw, 2rem);
            font-weight: 200;
            text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
            min-height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #typing-text::after {
            content: "|";
            animation: blink 1s infinite;
            color: #4ecdc4;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        @keyframes fadeZoomIn {
            0% {
                opacity: 0;
                transform: scale(0.8);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-text {
                flex-direction: column;
                text-align: center;
                gap: 2rem;
            }

            .hero-left {
                max-width: 100%;
            }

            .hero-left h1 {
                font-size: 2.5rem;
            }

            .hero-left p {
                font-size: 1.1rem;
            }

            .get-started-btn {
                padding: 1rem 2rem;
                font-size: 1rem;
            }

            .hero-right {
                max-width: 100%;
            }

            .welcome-box {
                padding: 2rem;
            }
        }

        @media (max-width: 480px) {
            .hero-text {
                gap: 1.5rem;
            }

            .hero-left h1 {
                font-size: 2rem;
            }

            .hero-left p {
                font-size: 1rem;
                margin-bottom: 2rem;
            }

            .get-started-btn {
                padding: 0.9rem 1.8rem;
                font-size: 0.95rem;
            }

            .welcome-box {
                padding: 1.5rem;
            }
        }

/* About section */
.split-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding: 120px 40px 80px;
  background: linear-gradient(135deg, #9a8d9b 0%, #363535 100%);
  min-height: 100vh;
  width: 100%;
}

.about-left, .about-right {
  flex: 1 1 350px;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-left img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  border: 6px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.about-left img:hover {
  transform: scale(1.05);
}

.about-left h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
  color: white;
  font-weight: 800;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.about-left p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.about-right p {
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-align: justify;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
@media(max-width: 768px){
  .about-right p{
    font-size: 1rem;
    text-align: center;

  }

}

 /* Services Section */
 .services-section {
            padding: 100px 20px 50px;
            background: linear-gradient(120deg, #21327c 30%, #764ba2 70%);
            min-height: 100vh;
            width: 100%;
        }

        .section-title {
            text-align: center;
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 3rem;
            color: white;
            font-weight: 800;
            text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
        }

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: stretch; /* This ensures all grid items stretch to the same height */
}

        /* Card Container for Flip Effect - UPDATED */
.service-card-container {
    perspective: 1000px;
    height: 100%; /* Changed from auto to 100% to fill grid cell */
    min-height: auto;
    cursor: pointer;
    display: flex; /* Add flex display */
    flex-direction: column; /* Stack content vertically */
}

        .service-card {
            position: relative;
            width: 100%;
            height: auto; /* Changed from 100% to auto */
            min-height: 500px; /* Added minimum height for better proportions */
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            transform-style: preserve-3d;
        }

        .service-card.flipped {
            transform: rotateY(180deg);
        }

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%; /* Fill the card completely */
    backface-visibility: hidden;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

        .service-card-back {
            transform: rotateY(180deg);
            padding: 2rem;
            justify-content: flex-start; /* Changed from center to flex-start */
        }

        /* Maintain original front card styling */
        .service-card-front::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s;
        }

        .service-card-container:hover .service-card-front::before {
            left: 100%;
        }

        .service-card-container:hover .service-card-front {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 30px 60px rgba(0,0,0,0.2);
        }

        .service-card-front img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            transition: transform 0.4s ease;
            flex-shrink: 0; /* Prevent image from shrinking */
        }

        .service-card-container:hover .service-card-front img {
            transform: scale(1.1);
        }

        .service-card-front h2 {
            font-size: 1.4rem;
            margin: 1rem 1.5rem;
            color: #2c3e50;
            font-weight: 700;
            background: linear-gradient(45deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            flex-shrink: 0; /* Prevent title from shrinking */
        }

        /* UPDATED - Content container for lists */
        .service-card-front-content {
            flex-grow: 1; /* Allow content area to grow */
            padding: 0 1.5rem 1rem;
            overflow-y: auto; /* Allow scrolling if needed */
        }

        .service-card-front ul {
            list-style: decimal;
            padding: 0;
            margin: 0;
        }
        
        .service-card-front ol {
            list-style: lower-roman;
            padding: 0;
            margin: 0;
            margin-left: 1rem; /* Add left margin for nested ol */
        }

        .service-card-front li {
            margin-bottom: 0.5rem;
            color: #555;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 0.3rem 0;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            transition: color 0.3s ease;
        }

        .service-card-front li:hover {
            color: #667eea;
        }

        /* Back card styling */
        .service-card-back h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: #2c3e50;
            font-weight: 700;
            background: linear-gradient(45deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
        }

        .service-card-back p {
            color: #555;
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        .service-card-back .features {
            margin-top: 1.5rem;
            flex-grow: 1;
        }

        .service-card-back .features h3 {
            color: #667eea;
            font-size: 1.2rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .service-card-back .features ul {
            list-style: none;
            padding: 0;
        }

        .service-card-back .features li {
            color: #666;
            margin-bottom: 0.5rem;
            padding-left: 1.2rem;
            position: relative;
        }

        .service-card-back .features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #667eea;
            font-weight: bold;
        }

        .flip-indicator {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(102, 126, 234, 0.2);
            color: #667eea;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            z-index: 10;
            pointer-events: none; /* Prevent interference with click events */
            backdrop-filter: blur(5px);
            border: 2px solid rgba(102, 126, 234, 0.3);
        }

        .service-card.flipped .flip-indicator {
            transform: rotateY(180deg);
            background: rgba(255, 107, 107, 0.2);
            color: #ff6b6b;
            border-color: rgba(255, 107, 107, 0.3);
        }

        .service-card-container:hover .flip-indicator {
            transform: scale(1.1);
            background: rgba(102, 126, 234, 0.3);
        }

        .service-card.flipped:hover .flip-indicator {
            background: rgba(255, 107, 107, 0.3);
        }

/* Mobile responsiveness  */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 15px;
        align-items: normal; /* Reset grid alignment */
    }
    
    .service-card-container {
        perspective: 1000px;
        height: auto;
        min-height: auto;
        cursor: pointer;
        margin-bottom: 2rem; /* Extra spacing between cards */
        position: relative; /* Ensure proper stacking context */
    }
    
    .service-card {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto; /* Changed from 450px to auto */
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        transform-style: preserve-3d;
    }
    
    /* Front card - no scroll, full content display */
    .service-card-front {
        position: relative; /* Changed from absolute to relative - KEY FIX */
        width: 100%;
        height: auto; /* Allow natural height expansion */
        min-height: auto; /* Remove fixed min-height */
        max-height: none; /* Remove height restriction */
        backface-visibility: hidden;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 25px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        overflow: hidden; /* Changed from hidden to visible - show all content */
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        flex-direction: column;
        transition: opacity 0.3s ease; /* Smooth transition */
    }
    
    /* Back card - keep existing scroll behavior but prevent overlap */
    .service-card-back {
        position: relative; /* Changed from absolute to relative when shown - KEY FIX */
        width: 100%;
        height: auto; /* Allow natural height expansion */
        min-height: auto; /* Remove fixed min-height */
        max-height: none; /* Remove height restriction to prevent overlap */
        overflow-y: auto; /* Allow scrolling within the card if needed */
        padding: 1.5rem;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 25px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: none; /* Initially hidden with display none */
        flex-direction: column;
        transition: opacity 0.3s ease; /* Smooth transition */
    }
    
    /* Show back card when flipped - FIXED LOGIC */
    .service-card.flipped .service-card-back {
        display: flex; /* Show back card */
    }
    
    /* Hide front card when flipped - FIXED LOGIC */
    .service-card.flipped .service-card-front {
        display: none; /* Hide front card */
    }
    /* Front card image adjustments - Fix overflow */
    .service-card-front img {
        width: 100%;
        height: 140px; /* Fixed height */
        object-fit: cover;
        flex-shrink: 0;
        border-radius: 25px 25px 0 0; /* Match card border radius at top */
        display: block; /* Ensure proper display */
    }
    
    /* Adjust content sizing for mobile */
    .service-card-back h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    
    .service-card-back p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    
    .service-card-back .features {
        flex-grow: 1;
        overflow-y: auto;
    }
    
    .service-card-back .features h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card-back .features li {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }
    .cta{
      margin-top: 800px;
    }
}
        /* Scroll animations */
        .scroll-fade-up {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease;
        }

        .scroll-fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* CTA Section */
        .cta {
            background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
            color: #fff;
            text-align: center;
            padding: 2.5rem 2rem;
            border-radius: 30px;
            margin: 5rem auto 2rem;
            max-width: 1200px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
        }

        .cta::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .cta h2 {
            font-size: 2.2rem;
            margin-bottom: 1rem;
            position: relative;
            z-index: 2;
            font-weight: 700;
        }

        .cta p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            position: relative;
            z-index: 2;
            opacity: 0.9;
        }

        .cta-button {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
            font-size: 1.1rem;
        }

        .cta-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

/* Testimonial Section Styles */
        .testimonials-section {
            padding: 120px 40px 80px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            width: 100%;
            position: relative;
            overflow: hidden;
        }

        .testimonials-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
            pointer-events: none;
        }

        .testimonials-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .section-title {
            text-align: center;
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 1rem;
            color: white;
            font-weight: 800;
            text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 4rem;
            font-weight: 400;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

        .testimonial-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        }

        .testimonial-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
            pointer-events: none;
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .card-stars {
            display: flex;
            gap: 3px;
            margin-bottom: 16px;
            position: relative;
            z-index: 2;
        }

        .card-stars .star {
            color: #ffd700;
            font-size: 1.1rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .testimonial-text {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #2c3e50;
            margin-bottom: 16px;
            position: relative;
            z-index: 2;
            font-weight: 400;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .testimonial-text.expanded {
            display: block;
            -webkit-line-clamp: unset;
            line-clamp: unset;
            overflow: visible;
        }

        .read-more {
            color: #667eea;
            cursor: pointer;
            font-size: 0.875rem;
            text-decoration: none;
            margin-bottom: 16px;
            display: block;
            position: relative;
            z-index: 2;
            font-weight: 500;
        }

        .read-more:hover {
            text-decoration: underline;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            z-index: 2;
        }

        .author-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(45deg, #667eea, #764ba2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            overflow: hidden;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .author-info h4 {
            font-size: 0.95rem;
            color: #2c3e50;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .author-info p {
            font-size: 0.8rem;
            color: #7f8c8d;
            font-weight: 500;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .testimonials-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 16px;
            }
        }

        @media (max-width: 768px) {
            .testimonials-section {
                padding: 100px 20px 60px;
            }
            
            .section-subtitle {
                font-size: 1rem;
            }
            
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }

            .testimonial-card {
                padding: 16px;
            }
        }

        @media (max-width: 480px) {
            .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .testimonial-card {
                padding: 16px;
            }

            .author-avatar {
                width: 40px;
                height: 40px;
                font-size: 0.8rem;
            }

            .author-info h4 {
                font-size: 0.9rem;
            }

            .author-info p {
                font-size: 0.75rem;
            }
        }

        /* Animation for testimonials appearing */
        .testimonial-card {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .testimonial-card:nth-child(1) { animation-delay: 0.1s; }
        .testimonial-card:nth-child(2) { animation-delay: 0.3s; }
        .testimonial-card:nth-child(3) { animation-delay: 0.5s; }
        .testimonial-card:nth-child(4) { animation-delay: 0.7s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
/* Contact Page */
.contact-section {
  padding: 100px 40px 80px;
  background: linear-gradient(120deg, #000000 10%, #033b3b 90%);
  min-height: 100vh;
  width: 100%;
}

.contact-section h1 {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  margin-bottom: 1.5rem;
  color: #4ecdc4;
  font-size: 1.8rem;
  font-weight: 700;
}

.contact-info p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.contact-info a {
  color: #4ecdc4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4ecdc4;
  background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-fade {
  opacity: 0;
  transition: opacity 1s ease;
}

.scroll-fade.show {
  animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-up.show {
  animation: fadeUp 1s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    width: 100%;
    display: none;
    text-align: center;
    padding: 2rem 0;
    border-radius: 0 0 20px 20px;
  }

  nav.show {
    display: flex;
  }

  .burger {
    display: block;
  }

  .split-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
  }

  .services-section {
    padding: 100px 20px 60px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-section {
    padding: 100px 20px 60px;
  }

  .cta h2 {
    font-size: 1.8rem;
  }
  
  .cta p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  
  .about-left img {
    width: 200px;
    height: 200px;
  }
  
  .services-grid {
    padding: 0 10px;
  }
  
  .split-layout,
  .services-section,
  .contact-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}
/* Footer Section */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 3rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  padding: 0 20px;
}

.footer-section h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #4ecdc4;
  font-weight: 700;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  border-radius: 2px;
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  padding: 0.3rem 0;
  transition: all 0.3s ease;
}

.footer-section ul li:hover {
  color: #4ecdc4;
  transform: translateX(5px);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-section a:hover {
  color: #4ecdc4;
}

.footer-section a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4ecdc4;
  transition: width 0.3s ease;
}

.footer-section a:hover::before {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: rgba(78, 205, 196, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 400;
}

.footer-bottom .highlight {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }
  
  .stats-section {
    padding: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .counter-number {
    font-size: 2.5rem;
  }
  
  .counter-label {
    font-size: 1.1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 1rem 1.5rem;
  }
  
  .stats-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .counter-number {
    font-size: 2rem;
  }
  
  .counter-label {
    font-size: 1rem;
  }
  
  .counter-description {
    font-size: 0.9rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}