/* =====================================================
   BridgePoint - Italian Educational Consulting
   Design System & Styles
   ===================================================== */

/* CSS Variables - Italian Color Palette */
:root {
    /* Italian Flag Colors */
    --italy-green: #009246;
    --italy-green-dark: #006633;
    --italy-green-light: #00B359;
    --italy-white: #FFFFFF;
    --italy-red: #CE2B37;
    --italy-red-dark: #A82230;
    --italy-red-light: #E84550;

    /* Primary Colors */
    --terracotta: #CE2B37;
    --terracotta-dark: #A82230;
    --terracotta-light: #E84550;

    --warm-yellow: #F4C430;
    --warm-yellow-dark: #D4A520;
    --warm-yellow-light: #FFD93D;

    --olive-green: #009246;
    --olive-green-dark: #006633;
    --olive-green-light: #00B359;

    --deep-blue: #1E3A5F;
    --deep-blue-dark: #142942;
    --deep-blue-light: #2C5282;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --cream: #F5F5F5;
    --gray-100: #F7F7F7;
    --gray-200: #E8E8E8;
    --gray-300: #D1D1D1;
    --gray-400: #9E9E9E;
    --gray-500: #6B6B6B;
    --gray-600: #4A4A4A;
    --gray-700: #2D2D2D;
    --black: #1A1A1A;

    /* Typography - Classic Serif Style */
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: Georgia, 'Times New Roman', serif;
    --font-ui: Georgia, 'Times New Roman', serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Border Radius - Minimal for sharp design */
    --radius-none: 0;
    --radius-sm: 2px;
    --radius-md: 4px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

* {
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography - Official Italian Style */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--deep-blue);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* =====================================================
   Components
   ===================================================== */

/* Buttons */
.logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
}

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

.logo-bridge {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0px;
}

.logo-point {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warm-yellow);
    letter-spacing: 0px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 0.5rem;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--deep-blue);
    color: var(--white);
    border-color: var(--deep-blue);
}

.btn-secondary:hover {
    background: var(--deep-blue-dark);
    border-color: var(--deep-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--deep-blue);
}

.btn-outline-dark {
    background: transparent;
    color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.btn-outline-dark:hover {
    background: var(--deep-blue);
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--warm-yellow-dark) 100%);
    color: var(--deep-blue);
    border-color: var(--warm-yellow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(232, 185, 35, 0.4);
}

.btn-full {
    width: 100%;
}

/* =====================================================
   Navigation
   ===================================================== */
.navbar {
    position: fixed;
    top: 8px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.92) 0%, rgba(160, 82, 45, 0.88) 50%, rgba(178, 102, 68, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 30px rgba(139, 69, 19, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    padding: 0.5rem 0;
    background: rgba(6, 26, 12, 0.98);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
}

.logo-bridge {
    color: var(--white);
    transition: color var(--transition-normal);
}

.logo-point {
    color: var(--warm-yellow);
    transition: color var(--transition-normal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    color: var(--warm-yellow);
}

.nav-cta {
    padding: 0.75rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md) !important;
}

.nav-cta:hover {
    background: var(--terracotta) !important;
    color: var(--white) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-normal);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--deep-blue);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(199, 91, 57, 0.7) 100%),
        url('https://images.unsplash.com/photo-1523906834658-6e24ef2386f9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--warm-yellow);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--warm-yellow);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    font-size: 0.85rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 12px;
    margin: 0.5rem auto 0;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll-dot 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

@keyframes scroll-dot {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.3;
        top: 20px;
    }
}

/* =====================================================
   Section Common Styles
   ===================================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--cream);
    color: var(--terracotta);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   Why BridgePoint Section
   ===================================================== */
.why-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.why-card {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--italy-green), var(--italy-red));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1;
}

.card-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--deep-blue);
}

.card-text {
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* =====================================================
   Programs & Universities Section
   ===================================================== */
.programs-section {
    padding: var(--space-4xl) 0;
    background: var(--deep-blue);
}

.programs-section .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--warm-yellow);
}

.programs-section .section-title {
    color: var(--white);
}

.programs-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.university-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.university-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.uni-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--gray-100);
}

.uni-logo img {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
}

.uni-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uni-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.uni-location,
.uni-ranking {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.uni-ranking {
    color: var(--terracotta);
    font-weight: 600;
}

.uni-programs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.uni-programs span {
    padding: 0.35rem 0.75rem;
    background: var(--cream);
    color: var(--deep-blue);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

/* University Logo Styled Backgrounds */
.uni-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.uni-logo-polimi {
    background: linear-gradient(135deg, #1E3A5F 0%, #2C5282 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-logo-bocconi {
    background: linear-gradient(135deg, #2D4739 0%, #4A7C59 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-logo-sapienza {
    background: linear-gradient(135deg, #8B2332 0%, #C75B39 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-logo-bologna {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-logo-padova {
    background: linear-gradient(135deg, #1E3A5F 0%, #3B5998 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-logo-torino {
    background: linear-gradient(135deg, #2F4F4F 0%, #556B2F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.programs-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    padding: 0 2rem;
}

.programs-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* =====================================================
   Scholarships Section
   ===================================================== */
.scholarships-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.scholarship-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(107, 123, 60, 0.95) 0%, rgba(30, 58, 95, 0.95) 100%),
        url('https://images.unsplash.com/photo-1498243691581-b145c3f54a5a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    will-change: transform;
}

.scholarship-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.scholarships-section .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--warm-yellow);
}

.scholarships-section .section-title {
    color: var(--white);
}

.scholarship-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.scholarship-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
}

.scholarship-card.featured {
    border-left: 4px solid var(--warm-yellow);
}

.scholarship-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    padding: 0.5rem 1rem;
    background: var(--warm-yellow);
    color: var(--deep-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.scholarship-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.scholarship-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.scholarship-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 1.5rem;
}

.benefit strong {
    display: block;
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

.benefit span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.scholarship-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: space-between;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card .stat-number {
    color: var(--warm-yellow);
    font-size: 2.5rem;
}

.stat-card .stat-label {
    color: var(--white);
    font-size: 0.95rem;
}

/* =====================================================
   Service Packages Section
   ===================================================== */
.packages-section {
    padding: var(--space-4xl) 0;
    background: var(--off-white);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-normal);
    border: 2px solid var(--gray-200);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.package-card.featured {
    border-color: var(--terracotta);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.package-card.vip {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--deep-blue-dark) 100%);
    border-color: var(--deep-blue);
    color: var(--white);
}

.package-card.vip .package-name,
.package-card.vip .package-price {
    color: var(--white);
}

.package-card.vip .package-features li {
    color: rgba(255, 255, 255, 0.9);
}

.package-card.vip .included svg {
    color: var(--warm-yellow);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.25rem;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.package-badge.vip {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--warm-yellow-dark) 100%);
    color: var(--deep-blue);
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.package-card.vip .package-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.package-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.package-price {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--deep-blue);
    line-height: 1;
}

.package-period {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.package-card.vip .package-period {
    color: rgba(255, 255, 255, 0.6);
}

.package-features {
    margin-bottom: 2rem;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.package-card.vip .package-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features .included svg {
    color: var(--olive-green);
    flex-shrink: 0;
}

.package-features .not-included {
    color: var(--gray-400);
}

.package-features .not-included svg {
    color: var(--gray-300);
}

.package-card.vip .package-features .not-included {
    color: rgba(255, 255, 255, 0.4);
}

.package-card.vip .package-features .not-included svg {
    color: rgba(255, 255, 255, 0.3);
}

/* =====================================================
   Success Stories Section
   ===================================================== */
.success-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-content {
    padding: 2.5rem;
    position: relative;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--terracotta);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-600);
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--warm-yellow) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--deep-blue);
    font-size: 1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.author-info .program {
    color: var(--terracotta);
    font-weight: 500;
}

.success-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    padding: 0 2rem;
}

.success-cta p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--deep-blue-dark) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: start;
}

.contact-info {
    color: var(--white);
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info>p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--warm-yellow);
}

.contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--warm-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--terracotta);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 3rem;
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--warm-yellow);
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

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

/* =====================================================
   Animations
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for grid items */
.why-grid .why-card:nth-child(1) {
    transition-delay: 0s;
}

.why-grid .why-card:nth-child(2) {
    transition-delay: 0.1s;
}

.why-grid .why-card:nth-child(3) {
    transition-delay: 0.2s;
}

.why-grid .why-card:nth-child(4) {
    transition-delay: 0.3s;
}

.why-grid .why-card:nth-child(5) {
    transition-delay: 0.4s;
}

.why-grid .why-card:nth-child(6) {
    transition-delay: 0.5s;
}

.universities-grid .university-card:nth-child(1) {
    transition-delay: 0s;
}

.universities-grid .university-card:nth-child(2) {
    transition-delay: 0.1s;
}

.universities-grid .university-card:nth-child(3) {
    transition-delay: 0.2s;
}

.universities-grid .university-card:nth-child(4) {
    transition-delay: 0.3s;
}

.universities-grid .university-card:nth-child(5) {
    transition-delay: 0.4s;
}

.universities-grid .university-card:nth-child(6) {
    transition-delay: 0.5s;
}

.packages-grid .package-card:nth-child(1) {
    transition-delay: 0s;
}

.packages-grid .package-card:nth-child(2) {
    transition-delay: 0.15s;
}

.packages-grid .package-card:nth-child(3) {
    transition-delay: 0.3s;
}

.testimonials-grid .testimonial-card:nth-child(1) {
    transition-delay: 0s;
}

.testimonials-grid .testimonial-card:nth-child(2) {
    transition-delay: 0.15s;
}

.testimonials-grid .testimonial-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1200px) {

    .why-grid,
    .universities-grid,
    .packages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-card.featured {
        transform: none;
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 992px) {
    .scholarship-main {
        grid-template-columns: 1fr;
    }

    .scholarship-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 150px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 0;
        padding: 0.5rem 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--deep-blue);
        font-size: 1.25rem;
    }

    .nav-cta {
        background: var(--terracotta) !important;
        color: var(--white) !important;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .lang-switcher {
        margin-right: 1rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .why-grid,
    .universities-grid,
    .packages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .scholarship-main {
        grid-template-columns: 1fr;
    }

    .scholarship-benefits {
        grid-template-columns: 1fr;
    }

    .scholarship-stats {
        flex-direction: column;
    }

    .stat-card {
        width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        padding: 0 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .logo-bridge,
    .logo-point {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    :root {
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .section-header {
        padding: 0 1rem;
    }

    .why-card,
    .scholarship-card,
    .package-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .scholarship-stats {
        flex-direction: column;
    }

    .stat-card {
        width: 100%;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .logo-bridge,
    .logo-point {
        font-size: 1.2rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

/* =====================================================
   Custom Cursor (Desktop Only)
   ===================================================== */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--italy-green);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, border-color 0.2s ease, width 0.2s ease, height 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--italy-red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    width: 50px;
    height: 50px;
    border-color: var(--italy-red);
    background: rgba(206, 43, 55, 0.1);
}

@media (max-width: 768px) {

    .cursor,
    .cursor-dot {
        display: none;
    }
}

/* =====================================================
   Italian Flag Stripe Decoration
   ===================================================== */
.italy-stripe {
    height: 8px;
    background: linear-gradient(90deg, var(--italy-green) 33.33%, var(--italy-white) 33.33%, var(--italy-white) 66.66%, var(--italy-red) 66.66%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   Enhanced 3D Card Effects
   ===================================================== */
.why-card,
.university-card,
.package-card,
.testimonial-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-icon {
    transition: transform 0.3s ease;
}

.why-card:hover .card-icon {
    transform: translateY(-5px) scale(1.1);
}

/* Floating Animation for Icons */
@keyframes float {

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

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

.card-icon {
    animation: float 4s ease-in-out infinite;
}

.why-card:nth-child(2) .card-icon {
    animation-delay: 0.5s;
}

.why-card:nth-child(3) .card-icon {
    animation-delay: 1s;
}

.why-card:nth-child(4) .card-icon {
    animation-delay: 1.5s;
}

.why-card:nth-child(5) .card-icon {
    animation-delay: 2s;
}

.why-card:nth-child(6) .card-icon {
    animation-delay: 2.5s;
}

/* =====================================================
   Enhanced Hover Animations
   ===================================================== */
.btn {
    position: relative;
    overflow: hidden;
}

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

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

/* Glow Effect on Primary Buttons */
.btn-primary {
    box-shadow: 0 4px 15px rgba(206, 43, 55, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(206, 43, 55, 0.5);
}

/* =====================================================
   Slide In Animations
   ===================================================== */
.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.visible,
.slide-right.visible,
.slide-up.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Scale In Animation */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* =====================================================
   Hero Enhancements
   ===================================================== */
.hero-bg {
    background:
        linear-gradient(135deg, rgba(0, 146, 70, 0.8) 0%, rgba(206, 43, 55, 0.7) 100%),
        url('https://images.unsplash.com/photo-1523906834658-6e24ef2386f9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--warm-yellow) 0%, var(--warm-yellow-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Badge */
.hero-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

/* =====================================================
   Section Dividers with Italian Colors
   ===================================================== */
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--italy-green), var(--italy-white), var(--italy-red));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* =====================================================
   Improved Scroll Reveal
   ===================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* =====================================================
   Mobile Navigation Overlay
   ===================================================== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   Fix for Safari Scroll
   ===================================================== */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* =====================================================
   Print Styles
   ===================================================== */
@media print {

    .navbar,
    .hero-scroll,
    .cursor,
    .cursor-dot,
    .italy-stripe {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }
}

/* =====================================================
   Language Switcher
   ===================================================== */
.lang-switcher {
    position: relative;
    margin-left: 1rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    min-width: 140px;
    z-index: 1001;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lang-option:hover {
    background: var(--cream);
}

.lang-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* =====================================================
   Support Chat Widget
   ===================================================== */
.support-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.support-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    border: none;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(206, 43, 55, 0.4);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(206, 43, 55, 0.5);
}

.support-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all var(--transition-normal);
}

.support-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.support-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.support-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.support-content {
    text-align: center;
}

.support-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.support-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
}

.support-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.support-content .btn {
    width: 100%;
}

/* =====================================================
   About Section
   ===================================================== */
.about-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.about-text {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-info>p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--deep-blue);
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    color: var(--gray-600);
}

.contact-item a {
    color: var(--terracotta);
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-blue);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--terracotta);
    color: var(--white);
}

.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

/* =====================================================
   Classic Cursor Animation
   ===================================================== */
.cursor {
    width: 35px;
    height: 35px;
    border: 1.5px solid var(--terracotta);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
    opacity: 0.6;
}

.cursor.hover {
    width: 50px;
    height: 50px;
    border-color: var(--warm-yellow);
    opacity: 0.8;
    border-width: 2px;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--terracotta);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.cursor-dot.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--warm-yellow);
}

/* =====================================================
   Mobile Responsive - Language & Support
   ===================================================== */
@media (max-width: 992px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .support-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .support-popup {
        width: 280px;
        right: -1rem;
    }

    .support-btn {
        width: 50px;
        height: 50px;
    }
}
/* =====================================================
   Consultation Modal
   ===================================================== */
.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.consultation-modal.active {
    opacity: 1;
    visibility: visible;
}

.consultation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.consultation-content {
    position: relative;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.consultation-modal.active .consultation-content {
    transform: scale(1) translateY(0);
}

.consultation-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-400);
    transition: color 0.2s ease;
    line-height: 1;
}

.consultation-close:hover {
    color: var(--terracotta);
}

.consultation-content h3 {
    font-size: 1.75rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.consultation-content p {
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 2rem;
}

.consultation-form .form-group {
    margin-bottom: 1.25rem;
}

.consultation-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--deep-blue);
}

.consultation-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consultation-form input:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(206, 43, 55, 0.1);
}

@media (max-width: 480px) {
    .consultation-content {
        padding: 2rem 1.5rem;
    }

    .consultation-content h3 {
        font-size: 1.5rem;
    }
}

/* =====================================================
   Clock Widget
   ===================================================== */
.clock-widget {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
    margin-right: 1rem;
}

.clock-icon {
    font-size: 1rem;
}

.clock-time {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.clock-location {
    font-size: 0.75rem;
    opacity: 0.8;
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 0.5rem;
    margin-left: 0.25rem;
}

@media (max-width: 992px) {
    .clock-widget {
        display: none;
    }
}

/* =====================================================
   Unified Button Styles
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #CE2B37 0%, #A82230 100%);
    color: #fff;
    border-color: #CE2B37;
    box-shadow: 0 4px 15px rgba(206, 43, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A82230 0%, #8B1A28 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 43, 55, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #1E3A5F 0%, #142942 100%);
    color: #fff;
    border-color: #1E3A5F;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #142942 0%, #0D1C2E 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #1E3A5F;
    transform: translateY(-3px);
}

.btn-gold {
    background: linear-gradient(135deg, #F4C430 0%, #D4A520 100%);
    color: #1E3A5F;
    border-color: #F4C430;
    box-shadow: 0 4px 15px rgba(244, 196, 48, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #D4A520 0%, #B8860B 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 196, 48, 0.5);
}

/* =====================================================
   Form Textarea Styles
   ===================================================== */
.consultation-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: Georgia, 'Times New Roman', serif;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consultation-form textarea:focus {
    outline: none;
    border-color: #CE2B37;
    box-shadow: 0 0 0 3px rgba(206, 43, 55, 0.1);
}

/* =====================================================
   Scroll Progress Indicator (New Feature)
   ===================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #009246, #FFFFFF, #CE2B37);
    z-index: 10001;
    width: 0%;
    transition: width 0.1s ease;
}

/* =====================================================
   Back to Top Button (New Feature)
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1E3A5F 0%, #2C5282 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #142942 0%, #1E3A5F 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.5);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 80px;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

/* =====================================================
   Italian Flag Section Dividers
   ===================================================== */
.section-divider-italy {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #009246 0%, 
        #009246 33.33%, 
        #FFFFFF 33.33%, 
        #FFFFFF 66.66%, 
        #CE2B37 66.66%, 
        #CE2B37 100%
    );
    margin: 0;
    border: none;
}

/* Add divider after each section */
section {
    position: relative;
}

section::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #009246 0%, 
        #009246 33.33%, 
        #FFFFFF 33.33%, 
        #FFFFFF 66.66%, 
        #CE2B37 66.66%, 
        #CE2B37 100%
    );
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Remove divider from last section (footer doesn't need it) */
section:last-of-type::after {
    display: none;
}

/* Hero section - divider at bottom */
.hero::after {
    bottom: 0;
}

/* Scholarships section with dark background */
.scholarships-section::after {
    background: linear-gradient(90deg, 
        #009246 0%, 
        #009246 33.33%, 
        rgba(255, 255, 255, 0.9) 33.33%, 
        rgba(255, 255, 255, 0.9) 66.66%, 
        #CE2B37 66.66%, 
        #CE2B37 100%
    );
}

/* =====================================================
   Footer Logo Image
   ===================================================== */
.footer-logo-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .footer-logo-img {
        height: 50px;
    }
}
