/* Glassmorphism & Modern Styling */

:root {
    --primary-color: #4b6cb7;
    --secondary-color: #182848;
    --accent-color: #00d2ff;
    --text-color: #333;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    color: var(--secondary-color) !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 16px !important;
    margin: 0 4px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.btn-primary-custom {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(75, 108, 183, 0.4);
}

/* Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.2);
    border-color: rgba(255,255,255,0.8);
}

.card-img-top {
    border-radius: 20px 20px 0 0;
    object-fit: cover;
    height: 200px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0 80px 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.hero-shape-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(75, 108, 183, 0.4);
}

.hero-shape-2 {
    bottom: -150px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: rgba(0, 210, 255, 0.3);
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 50px;
}

.glass-footer {
    background: rgba(24, 40, 72, 0.8);
    backdrop-filter: blur(15px);
    color: white;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.glass-footer a:hover {
    color: var(--accent-color);
}

/* Form Controls */
.form-control-glass {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 12px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.form-control-glass:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(75, 108, 183, 0.25);
    color: var(--secondary-color);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Typography & Utility Classes */
.gradient-text {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-section {
        padding: 80px 0 60px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1.25rem !important;
    }
    .navbar-nav {
        padding: 1rem 0;
    }
    .nav-link {
        margin: 4px 0;
        padding: 12px 20px !important;
    }
}

@media (max-width: 767px) {
    .glass-panel {
        padding: 1.5rem !important;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-shape-1, .hero-shape-2 {
        width: 300px;
        height: 300px;
        filter: blur(60px);
    }
    .ratio-4x3 {
        --bs-aspect-ratio: 56.25%; /* Change gallery to 16:9 on mobile for better fit */
    }
    .card-img-top {
        height: 180px;
    }
    .display-5 {
        font-size: 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .container {
    animation: fadeInUp 0.8s ease-out;
}

