* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --navy-blue: #0a1f44;
    --navy-blue-light: #1a3a66;
    --gold: #d4af37;
    --gold-light: #f0d56c;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --text-gray: #6c757d;
    --text-dark: #2c3e50;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-cursive: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--navy-blue);
    color: var(--white);
    border-color: var(--navy-blue);
}

.btn-primary:hover {
    background-color: var(--navy-blue-light);
    border-color: var(--navy-blue-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-secondary:hover {
    background-color: var(--navy-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy-blue);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    position: relative;
    padding-left: 15px;
    
    opacity: 0;
    animation: slideDownFade 0.8s ease-out forwards;
}

.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    
    width: 3px;
    height: 40px;
    background-color: var(--gold);
}

.logo h1 {
    font-family: var(--font-cursive);
    font-size: 32px;
    font-weight: 600;
    font-style: italic;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== Navigation ===== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav > a,
.dropdown {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav > a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.main-nav > a:hover {
    color: var(--gold);
}

.main-nav > a:hover::after {
    width: 100%;
}

/* ===== Dropdown Menu ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: block;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.dropdown:hover .dropdown-toggle {
    color: var(--gold);
}

.dropdown:hover .dropdown-toggle::after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--navy-blue);
    min-width: 180px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--navy-blue);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 10px);
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 12px;
    color: var(--white);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
    padding-left: 30px;
}

/* ===== Hamburger Menu ===== */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* ===== Mobile Menu Styles ===== */
@media (max-width: 992px) {
    .header {
        padding: 15px 20px;
    }
    
    .logo h1 {
        font-size: 34px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--navy-blue);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 100px 0 40px;
        transition: right 0.4s ease;
        z-index: 999;
    }
    
    .main-nav > a,
    .dropdown {
        width: 100%;
        padding: 20px 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav > a::after,
    .dropdown-toggle::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        /* background-color: rgba(0, 0, 0, 0.2); */
        box-shadow: none;
        max-height: none;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu a {
        padding: 14px 40px 14px 22px;
        position: relative;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.85);
    }

    .dropdown-menu a::before {
        content: '';
        position: absolute;
        left: 5px;
        top: 50%;
        width: 12px;
        height: 2px;
        background-color: var(--gold);
        transform: translateY(-50%);
    }

    .dropdown-menu a:hover {
        color: var(--gold);
        background: none;
    }
    
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        transform-origin: center;
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        transform-origin: center;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('../images/2017_winter_zins2_photo1.gif');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.9) 0%, rgba(10, 31, 68, 0.1) 100%);
    /* background: linear-gradient(
        to bottom, 
        rgba(10, 31, 68, 0.3) 25%, 
        rgba(10, 31, 68, 0.4) 50%,
        rgba(10, 31, 68, 0.9) 100%
    ); */
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
}

.hero-text {
    position: relative;
    border-left: 5px solid var(--gold); 
    padding-left: 35px;
    
    /* Animation: Slide up */
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 90px; 
    line-height: 0.9;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-text p {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-left: 5px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        background-position: 73% center;
    }

    .hero-content {
        padding-left: 30px;
    }

    .hero-text h1 {
        font-size: 55px;
    }

    .hero-text p {
        font-size: 20px;
    }
}

/* ===== About Section ===== */
.about {
    padding: 95px 0 110px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border: 1px gray solid;
    box-shadow: 20px 20px 0 var(--gold);
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--navy-blue);
    margin-bottom: 30px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image img {
        height: 400px;
    }
}

/* ===== Approach Section ===== */
.approach {
    padding: 120px 0;
    background-color: var(--off-white);
}

.approach-content {
    text-align: center;
}

.approach-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--navy-blue);
    margin-bottom: 30px;
}

.approach-content > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto 60px;
}

.approach-image {
    margin: 0 auto 40px;
    max-width: 900px;
}

.approach-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border: 10px solid var(--gold);
}

@media (max-width: 768px) {
    .approach-image img {
        height: 300px;
    }
}

/* ===== Cuny Center Section (Final: No Mobile Hover + Fluid Height) ===== */
.cuny-center {
    padding: 80px 0 120px 0;
    background-color: var(--navy-blue);
}

.cuny-center-title {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--gold);
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.center-split {
    display: flex;
    align-items: stretch;
    height: 600px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
}

.split-side {
    position: relative;
    flex: 1;
    height: 100%;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    cursor: pointer;
    border-right: 2px solid var(--gold);
}

.split-side:last-child {
    border-right: none;
}

.split-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.8);
}

/* ===== The Overlay ===== */
.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    background-color: rgba(10, 31, 68, 0.25); 
    background-image: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 140px; 
    align-items: center;
    padding-left: 20px; 
    padding-right: 20px;
    
    opacity: 1; 
    transition: background-color 0.4s ease;
    z-index: 2;
}

/* ===== Content Styling ===== */
.split-content {
    text-align: center;
    width: 100%;
    max-width: 95%; 
}

.split-content h3 {
    font-family: var(--font-heading);
    font-size: 32px; 
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,1), 0 0 30px rgba(0,0,0,0.8);
    
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.split-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 30px;
    
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* ===== BUTTON STYLE (Solid Gold) ===== */
.split-content .btn {
    background-color: var(--gold);
    color: var(--navy-blue);
    border: 2px solid var(--gold);
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    
    opacity: 0; 
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.split-content .btn::after {
    display: none;
}

.split-content .btn:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    color: var(--navy-blue);
}

/* ===== Desktop Hover Interactions ONLY ===== */
/* These rules will be overridden in the Mobile media query below */
.split-side:hover {
    flex: 1.5; 
}

.split-side:hover .split-overlay {
    background-color: rgba(10, 31, 68, 0.95);
    background-image: none;
}

.split-side:hover .split-content p,
.split-side:hover .split-content .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.split-side:hover img {
    transform: scale(1.005); 
}

/* ===== Mobile Responsiveness (No Hover + Fluid Height) ===== */
@media (max-width: 992px) {
    .cuny-center {
        padding: 60px 0 80px 0;
    }

    .cuny-center-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .center-split {
        flex-direction: column;
        height: auto;
        box-shadow: none;
    }

    .split-side {
        height: auto; 
        min-height: 400px;
        width: 100%;
        border-right: none;
        border-bottom: 4px solid var(--gold); 
        flex: none; 
        display: flex;
        flex-direction: column;
    }
    
    /* Image Position */
    .split-side img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 0;
    }
    
    .split-side:last-child {
        border-bottom: none;
    }
    
    /* Overlay Structure */
    .split-overlay {
        position: relative; 
        top: auto; left: auto; right: auto; bottom: auto;
        justify-content: center;
        padding: 60px 20px;
        background-color: rgba(10, 31, 68, 0.9); 
        background-image: none;
    }
    
    /* Content Always Visible */
    .split-content {
        max-width: 100%;
        transform: translateY(0);
    }
    
    .split-content h3 {
        font-size: 26px; 
        text-shadow: none;
        margin-bottom: 15px;
        transform: translateY(0);
    }

    .split-content p {
        font-size: 15px;
        opacity: 1;
        transform: translateY(0);
        margin-bottom: 25px;
    }
    
    .split-content .btn {
        opacity: 1;
        transform: translateY(0);
    }

    /* === DISABLE HOVER EFFECTS ON MOBILE === */
    /* This overrides the desktop hover rules so nothing moves on tap */
    .split-side:hover {
        flex: none;
    }

    .split-side:hover img {
        transform: none; /* No Zoom */
    }

    .split-side:hover .split-overlay {
        background-color: rgba(10, 31, 68, 0.9); /* Keep the same static blue */
    }
}

/* ===== Learn More Section ===== */
.learn-more {
    padding: 120px 0;
    background-color: var(--off-white);
}

.learn-more-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.learn-more-header h2 {
    font-family: var(--font-heading);
    font-size: 50px;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.learn-more-header p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 10px;
}

/* Link Wrapper */
.card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

/* The Card Itself */
.card {
    background-color: var(--navy-blue);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 31, 68, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-bottom: 8px solid transparent;
    border-bottom-color: var(--gold);
}

/* Card Hover Effects */
.card-link:hover .card {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.15);
}

/* Image Container */
.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

/* The Image */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}

/* Zoom Image on Hover */
/* .card-link:hover .card-image img {
    transform: scale(1.1);
} */

/* Card Title */
.card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--gold);
    margin: 25px 30px 15px;
    transition: color 0.3s ease;
}

.card-link:hover .card h3 {
    color: var(--gold);
}

/* Card Paragraph */
.card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--white);
    padding: 0 30px;
    margin-top: 20px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card .btn {
    margin: 0 30px 30px;
    background: none;
    border: none;
    padding: 0;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.card .btn::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.card-link:hover .btn {
    color: var(--gold);
}

/* .card-link:hover .btn::after {
    transform: translateX(5px);
} */

    /* Responsiveness */
@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .learn-more-header h2 {
        font-size: 36px;
    }
}

/* ===== Footer ===== */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-family: var(--font-cursive);
    font-size: 32px;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--gold);
}

/* ===== Social Media Icons ===== */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--white);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===== Additional Mobile Responsiveness ===== */
@media (max-width: 576px) {
    .logo {
        left: 0px;
    }
    
    /* .logo h1 {
        font-size: 36px;
    } */
    
    .hamburger {
        right: 20px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-text h2,
    .approach-content h2,
    .learn-more-header h2 {
        font-size: 36px;
    }
    
    .approach {
        padding: 60px 0;
    }
    
    .cuny-center {
        padding: 60px 0;
    }
    
    .learn-more {
        padding: 60px 0;
    }
    
    .about-image img {
        box-shadow: 10px 10px 0 var(--gold);
    }
}

/* ===== UPDATED Scroll to Top Button (Gold & Navy) ===== */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold); 
    color: var(--navy-blue); 
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 31, 68, 0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#scrollTopBtn:hover {
    background-color: var(--gold-light);;
    transform: translateY(-3px);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.1s;
    transform-origin: 50% 50%;
    stroke: var(--navy-blue);
}

.arrow-content {
    width: 24px;
    height: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-content svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 576px) {
    #scrollTopBtn {
        width: 46px;
        height: 46px;
        bottom: 20px;
        right: 20px;
        opacity: 0.85;
    }
}

/* ===== Navbar Loading Animation ===== */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-30px)
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    opacity: 0;
    animation: slideDownFade 0.8s ease-out forwards;
}

/* 3. Animate the Desktop Links */
.main-nav {
    opacity: 0;
    animation: slideDownFade 0.8s ease-out forwards;
}

@media (max-width: 992px) {
    .main-nav {
        opacity: 1; 
        animation: none;
    }

    .hamburger {
        opacity: 0;
        animation: slideDownFade 0.8s ease-out 0.2s forwards;
    }
}