:root {
    --primary-color: #00adf1;
    --primary-dark: #0081b3;
    --secondary-color: #1a1a2e;
    --accent-color: #e94560;
    --light-bg: #f8f9fa;
    --dark-bg: #16213e;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 173, 241, 0.3);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 173, 241, 0.4);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 173, 241, 0.6);
    background: var(--primary-dark);
    color: white;
}

/* Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer h4,
.footer h5 {
    color: white;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.footer h4::after,
.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.footer a {
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}

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

/* Utilities */
.section-padding {
    padding: 80px 0;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

    .hero-bg-shape {
        width: 400px;
        height: 400px;
    }
}

/* Fix text visibility in footer */
.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

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

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

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    padding-left: 0;
    /* Reset padding from previous styles */
}

/* Logo Styles */
.navbar-logo {
    height: 76px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 25px;
    display: block;
    background: white;
    padding: 10px;
    border-radius: 10px;
}

/* Contact Info Styles */
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-item i {
    color: var(--primary-color);
    margin-top: 4px;
    margin-right: 15px;
    min-width: 20px;
    text-align: center;
}

/* Social Media Buttons Fix */
.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    /* Force white color */
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    padding: 0;
}

.social-btn i {
    font-size: 18px;
    line-height: 1;
    display: block;
    text-align: center;
    margin-top: 10px;
}

.social-btn:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 173, 241, 0.4);
}

.footer-map {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map iframe {
    filter: grayscale(100%) invert(90%);
    transition: all 0.3s ease;
    display: block;
}

.footer-map:hover iframe {
    filter: none;
}

/* Accessory Card Styles */
.accessory-card {
    background: white;
    transition: all 0.3s ease;
}

.accessory-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.accessory-card .icon-box {
    transition: all 0.3s ease;
}

.accessory-card:hover .icon-box {
    background-color: var(--primary-color) !important;
}

.accessory-card:hover .icon-box i {
    color: white !important;
}

/* Institute Course Card */
.course-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.course-card:hover::before {
    opacity: 1;
}

.course-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.course-card:hover .course-icon-wrapper {
    background: var(--primary-color);
    color: white;
}

.course-card:hover .course-icon-wrapper i {
    color: white !important;
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 173, 241, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item img {
    transition: all 0.5s ease;
}

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

.video-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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