/* Custom CSS Variables */
:root {
    --primary-color: #011a42;
    --secondary-color: #4dabf7;
    --dark-color: #0d1b2a;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #011a42 0%, #0d47a1 100%);
    --gradient-secondary: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
    --shadow-light: 0 5px 15px rgba(1, 26, 66, 0.1);
    --shadow-heavy: 0 15px 35px rgba(1, 26, 66, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 15px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background: var(--gradient-secondary);
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::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: var(--transition-smooth);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: rgba(1, 26, 66, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    padding: 15px 0;
}

.navbar.scrolled {
    background: var(--primary-color);
    padding: 10px 0;
    box-shadow: var(--shadow-light);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
    transform: scale(1.05);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0 15px;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--secondary-color);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.slide-1 {
    background-image: url('../../../assets/images/hero1.jpg');
}

.slide-2 {
    background-image: url('../../../assets/images/hero2.jpg');
}

.slide-3 {
    background-image: url('../../../assets/images/hero3.jpg');
}

.slide-4 {
    background-image: url('../../../assets/images/hero4.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(1, 26, 66, 0.9) 0%, rgba(1, 26, 66, 0.6) 50%, rgba(77, 171, 247, 0.3) 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-accent {
    color: var(--secondary-color);
    position: relative;
}

.text-accent::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Modern Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    height: 70px;
    background: rgba(1, 26, 66, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev {
    left: 40px;
}

.carousel-control-next {
    right: 40px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary-color);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(77, 171, 247, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Enhanced Carousel Indicators */
.carousel-indicators {
    bottom: 40px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 80px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.carousel-indicators button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.6s ease;
}

.carousel-indicators button.active {
    background: linear-gradient(90deg, var(--secondary-color), #ffb74d);
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(77, 171, 247, 0.5);
}

.carousel-indicators button:hover::before {
    left: 100%;
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    z-index: 10;
}

.scroll-indicator p {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    opacity: 0.8;
}

.scroll-mouse {
    width: 32px;
    height: 55px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    animation: mouseFloat 2s ease-in-out infinite;
}

.scroll-wheel {
    width: 6px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelMove 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(77, 171, 247, 0.5);
}

@keyframes mouseFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(-8px);
        opacity: 0.7;
    }
}

@keyframes wheelMove {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(8px);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Slide Transition Effects */
.carousel-item {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item.active {
    animation: slideZoom 0.8s ease-out;
}

@keyframes slideZoom {
    0% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Content Animation Delays */
.carousel-item .hero-title {
    animation: slideInUp 1s ease-out 0.3s both;
}

.carousel-item .hero-subtitle {
    animation: slideInUp 1s ease-out 0.6s both;
}

.carousel-item .hero-buttons {
    animation: slideInUp 1s ease-out 0.9s both;
}

@keyframes slideInUp {
    0% {
        transform: translateY(60px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Particle Effect Overlay */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite"/></circle><circle cx="50" cy="30" r="0.5" fill="rgba(245,124,2,0.2)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="70" r="1.5" fill="rgba(255,255,255,0.08)"><animate attributeName="opacity" values="0;1;0" dur="5s" repeatCount="indefinite"/></circle></svg>');
    pointer-events: none;
    opacity: 0.6;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Website Cards */
.website-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    border: 1px solid rgba(1, 26, 66, 0.1);
    height: 100%;
}

.website-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.website-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-smooth);
}

.website-icon i {
    font-size: 2rem;
    color: #fff;
}

.website-card:hover .website-icon {
    background: var(--gradient-secondary);
    transform: scale(1.1) rotate(10deg);
}

.website-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.website-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Projects Section */
#projects {
    padding: 80px 0;
    position: relative;
}

/* Projects Slider */
.projects-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: visible;
}

.projects-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0 60px;
    margin: 0 -20px;
}

.projects-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    margin: 0 -15px;
}

.project-slide {
    flex: 0 0 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
    transition: all 0.4s ease;
    opacity: 0.7;
    transform: scale(0.95);
}

.project-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Navigation buttons */
.projects-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    width: calc(100% + 80px);
    margin: 0 -40px;
}

.projects-prev,
.projects-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

.projects-prev {
    margin-left: 0;
}

.projects-next {
    margin-right: 0;
}

.projects-prev:hover,
.projects-next:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Indicators */
.projects-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
}

.projects-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-indicators .indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .project-slide {
        flex: 0 0 50%;
    }
    
    .projects-slider-container {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .project-slide {
        flex: 0 0 100%;
    }
    
    .projects-prev {
        margin-left: 0;
    }
    
    .projects-next {
        margin-right: 0;
    }
}

/* Compact Project Cards */
.project-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    max-width: 100%;
    margin: 0 auto;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 26, 66, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-content {
    padding: 1.5rem;
    text-align: center;
}

.project-category {
    background: var(--gradient-secondary);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.project-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 1rem 0 0.8rem 0;
    font-size: 1.2rem;
}

.project-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Projects Navigation */
.projects-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.projects-prev,
.projects-next {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(1, 26, 66, 0.3);
}

.projects-prev:hover,
.projects-next:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(77, 171, 247, 0.4);
}

.projects-prev:active,
.projects-next:active {
    transform: scale(0.95);
}

/* Projects Indicators */
.projects-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(1, 26, 66, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.indicator.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Mobile Responsiveness for Projects */
@media (max-width: 768px) {
    .projects-slider-container {
        padding: 0 50px;
        max-width: 350px;
    }

    .projects-prev,
    .projects-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .project-image {
        height: 180px;
    }

    .project-content {
        padding: 1.2rem;
    }
}

@media (max-width: 576px) {
    .projects-slider-container {
        padding: 0 40px;
        max-width: 300px;
    }

    .projects-prev,
    .projects-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .project-image {
        height: 160px;
    }
}

/* Background Shapes */
.bg-light {
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: -1;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(77, 171, 247, 0.3);
    border-left: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .website-card,
    .project-content {
        padding: 1.5rem;
    }

    .project-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* AOS Animation Overrides */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-custom {
    box-shadow: var(--shadow-heavy);
}

.border-radius-custom {
    border-radius: var(--border-radius);
}

/* About Us Section Styles */
#about-us {
    background: white;
    position: relative;
    overflow: hidden;
}

#about-us::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(77, 171, 247, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

#about-us::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(1, 26, 66, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-image-container {
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    transition: transform 0.4s ease;
}

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

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-2);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* About Cards */
.about-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.card-icon-wrapper {
    margin-bottom: 2rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.vision-icon {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.mission-icon {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.goal-icon {
    background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: iconShine 3s infinite;
}

@keyframes iconShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }

    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.card-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.vision-decoration {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.mission-decoration {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.goal-decoration {
    background: linear-gradient(135deg, #4dabf7 0%, #339af0 100%);
}

/* Features Section */
.features-container {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.features-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(77, 171, 247, 0.1) 0%, rgba(1, 26, 66, 0.03) 100%);
    z-index: 1;
}

.feature-item {
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-heading {
        font-size: 1.8rem;
        text-align: center;
    }

    .about-description {
        text-align: center;
        font-size: 1rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .features-container {
        padding: 2rem 1rem;
    }

    .card-icon {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-heading {
        font-size: 1.6rem;
    }

    .about-card {
        padding: 1.5rem 1rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
}

/* Footer */
.footer-logo {
    display: flex;
    align-items: center;
    margin-left: 10px;
    /* Move logo 10px to the right */
}

.footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-widget h5 {
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-widget p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

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

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .course-card {
        flex-direction: column;
        height: auto;
    }

    .course-image {
        height: 250px;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .floating-card {
        position: static;
        margin-top: 20px;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }

    .course-content {
        padding: 30px;
    }

    .course-navigation {
        gap: 15px;
    }

    .course-nav-btn {
        width: 40px;
        height: 40px;
    }

    .branch-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 25px;
    }
}