/* General Styles */
:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #38b000;
    --navbar-height: 60px;
    --transition-speed: 0.4s;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: var(--navbar-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Section Header Styles */
.section-header {
    position: relative;
    margin-bottom: 4rem;
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(67,97,238,0.1);
    border-radius: 50px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dark);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Navbar*/
.auto-hide-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1030;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease, 
                background-color var(--transition-speed) ease;
    will-change: transform; /* Improve performance in Brave */
}

/* Logo container*/ 
.navbar-brand-wrapper {
    display: inline-flex;
    align-items: center;
    padding-right: 10px;
    height: var(--navbar-height);
    line-height: var(--navbar-height);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    line-height: inherit;
    white-space: nowrap;
}


.navbar-logo {
    height: 30px; 
    width: auto;
    max-width: 100%; 
    object-fit: contain;
    display: block; 
}

.navbar-brand-text {
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: blue;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    color: #032b52;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #3f37c9;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}
.nav-link:hover {
    color: green;
    transform: translateY(-2px);
}
.nav-link:active {
    color: green;
}
/* Mobile menu compatibility fixes */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        padding: 0.5rem;
        background-color: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    .navbar-collapse.show {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .navbar-nav {
        flex-direction: column;
    }
}

.navbar-hidden {
    transform: translateY(calc(-1 * var(--navbar-height)));
    box-shadow: none;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    background: #f9f7f3;
    padding: 80px 0 0; /* Reduced top padding */
    position: relative;
  }
  
  .hero-content {
    padding-right: 30px;
    margin-top: -30px;
  }
  
  .hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.2;
    color: #2a2d34;
    margin-bottom: 20px;
  }
  
  .text-gradient {
    background: linear-gradient(120deg, #4361ee, #4cc9f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero-subtitle {
    color: #5a5d65;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    border: none;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
  }
  
  .btn-outline-secondary {
    border: 2px solid #4361ee;
    color: #4361ee;
    background: transparent;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .btn-outline-secondary:hover {
    background: rgba(67, 97, 238, 0.1);
    transform: translateY(-3px);
  }
  
  /* Hero Visual */
  .hero-visual {
    position: relative;
    padding: 30px;
  }
  
  .hero-image {
    width: 100%;
    height: auto;
    z-index: 2;
    animation: float 8s ease-in-out infinite;
  }
  
  /* Floating Elements */
  .floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 3;
  }
  
  .element-1 {
    top: 20px;
    left: 20px;
    animation: float 6s ease-in-out infinite;
  }
  
  .element-2 {
    bottom: 40px;
    right: 20px;
    animation: float 7s ease-in-out infinite reverse;
  }
  
  .element-3 {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    animation: float 5s ease-in-out infinite 1s;
  }

  .wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
  }
  
  .wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-15px);
    }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .hero-section {
      padding: 70px 0 0;
    }
    
    .hero-content {
        margin-top: 0;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-cta {
      justify-content: center;
      align-items: center;
    }
    .hero-cta .btn-outline-secondary {
        display: none; /* Hide secondary button on mobile */
    }
    
    .hero-cta .btn-primary {
        width: auto; /* Natural width for single button */
        max-width: 280px; /* Reasonable max width */
        margin: 0 auto; /* Center the button */
    }
    
    .hero-visual {
      padding: 0 30px 30px;
    }
  }
  
  @media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-top: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-cta .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
  }
/* About Section - Enhanced with Animations */
.about-section {
    background: linear-gradient(135deg, #f0f5ff 0%, #e0e9ff 100%),
                radial-gradient(circle at 70% 30%, rgba(76, 201, 240, 0.1) 0%, transparent 30%),
                linear-gradient(to bottom right, 
                    rgba(255,255,255,0.8) 0%, 
                    rgba(220,230,255,0.6) 50%, 
                    rgba(200,220,255,0.4) 100%);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    z-index: 1;
  }
  
  /* Floating Decorations */
  .floating-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(76, 201, 240, 0.03) 100%);
    top: -100px;
    right: -100px;
    z-index: -1;
    animation: float 15s ease-in-out infinite alternate;
  }
  
  .floating-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path fill="%234361ee" fill-opacity="0.03" d="M45.2,-58.4C58.3,-48.3,68.3,-32.7,70.9,-16.2C73.5,0.3,68.7,17.7,57.2,30.5C45.7,43.3,27.5,51.4,8.1,56.8C-11.3,62.1,-31.9,64.7,-46.9,55.8C-61.9,46.9,-71.3,26.5,-73.6,4.6C-75.9,-17.3,-71.1,-40.7,-56.9,-51.2C-42.7,-61.7,-19.1,-59.3,-0.3,-59C18.5,-58.7,37,-60.5,45.2,-58.4Z" transform="translate(100 100)" /></svg>');
    background-size: contain;
    bottom: -150px;
    left: -150px;
    z-index: -1;
    animation: float 20s ease-in-out infinite alternate-reverse;
  }
  
  /* Content Grid - Perfect Height Matching */
  .content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  .text-content {
    position: relative;
    padding-right: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
  }
  
  .highlight-text {
    background: linear-gradient(90deg, rgba(67,97,238,0.05) 0%, rgba(76,201,240,0.03) 100%);
    border-left: 3px solid var(--primary);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--dark);
  }
  
  /* Feature Cards Grid */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
  }
  
  .feature-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
  }
  
  .feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
  }
  
  .feature-icon.blue {
    background: linear-gradient(135deg, rgba(67,97,238,0.1) 0%, rgba(76,201,240,0.1) 100%);
    color: var(--primary);
  }
  
  .feature-icon.teal {
    background: linear-gradient(135deg, rgba(76,201,240,0.1) 0%, rgba(67,97,238,0.1) 100%);
    color: var(--accent);
  }
  
  .feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
  }
  
  .feature-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5a6d80;
  }
  
  .image-gallery {
    position: relative;
    height: 500px; 
    min-height: 100%;
    margin-left: -30px;
  }
  
  .main-image {
    position: absolute;
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    z-index: 2;
    top: 0;
    left: 0;
    animation: floatImage 12s ease-in-out infinite;
  }
  
  .secondary-image {
    position: absolute;
    width: 80%;
    height: 40%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1;
    bottom: 0;
    right: 0;
    animation: floatImage 15s ease-in-out infinite reverse;
  }
  
  /* Stats Cards */
  .stats-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 3;
    min-width: 120px;
    text-align: center;
    animation: pulse 4s ease-in-out infinite;
  }
  
  .stats-card[style*="bottom: 50px"] {
    bottom: 40px;
    left: 0;
  }
  
  .stats-card[style*="top: 50px"] {
    top: 40px;
    right: 0;
  }
  
  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
  }
  
  .stat-number.primary {
    color: var(--primary);
  }
  
  .stat-number.success {
    color: var(--accent);
  }
  
  .stat-label {
    font-size: 0.85rem;
    color: #5a6d80;
    margin-top: 5px;
  }
  
  /* Animations */
  @keyframes float {
    0%, 100% {
      transform: translateY(0) translateX(0);
    }
    50% {
      transform: translateY(-20px) translateX(10px);
    }
  }
  
  @keyframes floatImage {
    0%, 100% {
      transform: translateY(0) translateX(0);
    }
    50% {
      transform: translateY(-10px) translateX(5px);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 1200px) {
    .content-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .image-gallery {
      height: 400px;
      margin-left: 0;
      margin-top: 30px;
    }
    
    .text-content {
      padding-right: 0;
    }
  }
  
  @media (max-width: 768px) {
    .about-section {
      padding: 60px 0;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .feature-grid {
      grid-template-columns: 1fr;
    }
    
    .image-gallery {
      height: 350px;
    }
    
    .stats-card {
      padding: 12px 15px;
    }
    
    .stat-number {
      font-size: 1.8rem;
    }
  }
  
  @media (max-width: 576px) {
    .image-gallery {
      height: 300px;
    }
    
    .main-image {
      width: 80%;
    }
    
    .secondary-image {
      width: 65%;
    }
    
    .stats-card {
      transform: scale(0.9);
    }
  }

/* Services Section */
.services-section {
    background-color: #f6f9ff;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(67, 97, 238, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(240,245,255,0.7) 100%);
    background-size: 40px 40px;
    
    position: relative;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 14, 61, 0.03) 0%, rgba(146, 105, 92, 0.02) 100%);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 34px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.read-more:hover {
    color: var(--secondary);
    transform: translateX(8px);
}

.read-more:hover::after {
    width: 100%;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1.3rem 0;
}

.stat-box {
    padding:0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.stat-box h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Programs Section */
.programs-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-image: 
        linear-gradient(to right, 
            rgba(0,0,0,0) 0%, 
            rgba(0,0,0,0.02) 50%, 
            rgba(0,0,0,0) 100%);
}

.program-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-image-container {
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.program-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.program-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    line-height: 1.3;
}

.program-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.program-description {
    color: #34495e;
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.program-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.25rem 0;
}

.program-highlights span {
    background: #f0f7ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
}

.program-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.program-footer p {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 0;
    line-height: 1.5;
}

.program-footer strong {
    color: #2c3e50;
}

/* Clients Section */
.clients-section {
    background-color: #f8fafd;
    background-image: 
        linear-gradient(rgba(248,250,253,0.9) 0%, rgba(248,250,253,0.9) 100%),
        repeating-linear-gradient(0deg, 
            rgba(0,0,0,0.02) 0px, 
            rgba(0,0,0,0.02) 1px, 
            transparent 1px, 
            transparent 24px),
        repeating-linear-gradient(90deg, 
            rgba(0,0,0,0.02) 0px, 
            rgba(0,0,0,0.02) 1px, 
            transparent 1px, 
            transparent 24px);
}

.client-item {
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent !important;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.client-logo {
    max-height: 100px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* Blog Section */
.blog-section {
    background-color: #fff9f2;
    background-image: 
        linear-gradient(to bottom, rgba(255,245,235,0.8) 0%, rgba(255,245,235,0) 100%),
        repeating-linear-gradient(0deg, 
            rgba(210,180,140,0.05) 0px, 
            rgba(210,180,140,0.05) 1px, 
            transparent 1px, 
            transparent 20px);
    padding: 80px 0;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 0.5rem;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.75rem;
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.3;
}

.blog-excerpt {
    color: #64748b;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f9f8f7;
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 50%),
        repeating-radial-gradient(circle at center, 
            rgba(0,0,0,0.02) 0px, 
            rgba(0,0,0,0.02) 1px, 
            transparent 1px, 
            transparent 10px);
    background-size: 10px 10px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.testimonial-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-rating i {
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-author h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.testimonial-author p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* Ensure all cards have same height */
.swiper-slide {
    height: auto;
}

/* Swiper Navigation Buttons - Smaller & Transparent */
.clients-button-next,
.clients-button-prev,
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.clients-button-next::after,
.clients-button-prev::after,
.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Hover Effects */
.clients-button-next:hover,
.clients-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
  background: rgba(67, 97, 238, 0.1);
}

.clients-button-next:hover::after,
.clients-button-prev:hover::after,
.testimonials-swiper .swiper-button-next:hover::after,
.testimonials-swiper .swiper-button-prev:hover::after {
  color: var(--secondary);
  transform: scale(1.1);
}

/* Position Adjustments */
.clients-button-next,
.testimonials-swiper .swiper-button-next {
  right: -10px;
}

.clients-button-prev,
.testimonials-swiper .swiper-button-prev {
  left: -10px;
}

/* For Mobile - Make buttons visible but still subtle */
@media (max-width: 768px) {
  .clients-button-next,
  .clients-button-prev,
  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .clients-button-next::after,
  .clients-button-prev::after,
  .testimonials-swiper .swiper-button-next::after,
  .testimonials-swiper .swiper-button-prev::after {
    font-size: 1rem;
  }
  
 
}

/* Contact Section - Interactive Circuit Board */
#contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Horizontal lines */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 19px,
            rgba(67, 97, 238, 0.05) 19px,
            rgba(67, 97, 238, 0.05) 20px
        ),
        /* Vertical lines */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 19px,
            rgba(76, 201, 240, 0.05) 19px,
            rgba(76, 201, 240, 0.05) 20px
        ),
        /* Dots at intersections */
        radial-gradient(
            circle at center,
            var(--primary) 0px,
            var(--primary) 1px,
            transparent 1px,
            transparent 100%
        );
    background-size: 20px 20px;
    opacity: 0.5;
    animation: circuitPulse 8s infinite alternate;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #495057;
}

/* Animation for circuit board effect */
@keyframes circuitPulse {
    0% {
        opacity: 0.3;
        background-position: 0 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.5;
        background-position: 20px 20px;
    }
}

/* Button Enhancements */
#contact .btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#contact .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

#contact .btn-outline-primary {
    border-width: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#contact .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }
    .contact-subtitle {
        font-size: 1.1rem;
    }
}

/* ======================
   BUTTON SYSTEM 
   ====================== */

/* Base Button Styles */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    text-decoration: none !important;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    background-image: none;
    margin: 0.25rem;
}

/* Button Sizes - Maintained as-is */
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}
.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Button Types 

/* Primary Button (Blue Gradient) */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2a5bd7 0%, #2d3bc9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(58, 123, 213, 0.3);
}

/* Secondary Button (Purple Gradient) */
.btn-secondary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a0db3 0%, #1a65e6 100%);
    transform: translateY(-2px);
}

/* Outline Buttons */
.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Light Button */
.btn-light {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-light:hover {
    background: #f8f9fa;
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Accent Button (Orange-Pink Gradient) */
.btn-accent {
    background: linear-gradient(135deg, #ff8a00 0%, #e52e71 100%);
    color: white;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #e57a00 0%, #d41e61 100%);
    transform: translateY(-2px);
}

/* Success Button (Green Gradient) */
.btn-success {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #28df6d 0%, #01897e 100%);
    transform: translateY(-2px);
}

/* Button with Icons */
.btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Special Button Styles for Sections */

/* Hero Section Buttons */
.hero-cta .btn {
    min-width: 180px;
    margin: 0 0.5rem;
}

/* CTA Section Buttons */
#contact .btn {
    min-width: 180px;
    margin: 0 0.5rem;
}

/* Program Cards Button */
.program-card .btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

/* Blog Cards Button */
.blog-card .btn {
    width: auto;
    margin-top: auto;
}

/* Testimonial Section Buttons */
.testimonials-section .btn {
    min-width: 220px;
}

/* Service Cards Read More Link */
.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--secondary);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Button Focus States */
.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Button Active States */
.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Disabled Button State */
.btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}

/* Button Groups */
.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0.5rem auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn,
    #contact .btn {
        min-width: 220px;
    }
}

/* Button Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(67, 97, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.btn-ripple:active:after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}
/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2a2d34 0%, #1a1c22 100%);
    color: #ffffff;
    padding: 3rem 0 0;
    font-size: 0.9rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;

}

.footer-heading {
    color: #626ce1;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 8px;
    font-size: 0.7rem;
    color: var(--primary);
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    padding: 1rem 0;
    margin-top: 2rem;
    background: linear-gradient(135deg, #2a2d34 0%, #1a1c22 100%);;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .footer {
        padding-top: 2.5rem;
    }
    
    .footer .col-md-6 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a,
    .footer-contact li {
        justify-content: center;
        text-align: center;
    }
    
    .footer-contact i {
        margin-right: 8px;
    }
    
    .social-icons {
        justify-content: center;
    }
}
/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--accent), var(--primary));
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    display: inline-block;
}

@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}
@keyframes particleMove {
    from { background-position: 0 0; }
    to { background-position: 50px 50px; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        text-align: center;
        padding-top: 70px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stat-box h3 {
        font-size: 2rem;
    }
}