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

:root {
    --primary-green: #1A4D3E;
    --light-green: #3D7A5C;
    --dark-green: #0F3328;
    --cream: #F5F5F0;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --border-gray: #E0E0E0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   NAVBAR STYLES
======================================== */

.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.navbar .logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.footer-brand .logo {
    text-decoration: none;
    color: inherit;
}

.footer-brand .logo-img--footer {
    height: 44px;
    width: 44px;
    padding: 6px;
    object-fit: contain;
    box-sizing: border-box;
    background: var(--white);
    border-radius: 12px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.navbar-container {
    container-type: inline-size;
    container-name: site-navbar;
}

@container site-navbar (max-width: 1100px) {
    .navbar .logo-text {
        display: none;
    }

    .navbar .logo {
        gap: 0.25rem;
    }
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
    font-weight: 600;
}

/* Menü ikonları — CSS geç gelmeden doğru boyut (site-navbar ile uyumlu) */
.nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-link-icon-svg {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
    max-width: 1.15rem;
    max-height: 1.15rem;
}

@media (max-width: 768px) {
    .nav-link-icon-svg {
        width: 1.35rem;
        height: 1.35rem;
        max-width: 1.35rem;
        max-height: 1.35rem;
    }
}

.more-menu {
    position: relative;
}

.more-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.more-btn:hover {
    color: var(--primary-green);
}

/* ========================================
   MEGA MENU STYLES
======================================== */

.mega-menu {
    position: absolute;
    top: 100%;
    right: -200px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 900px;
}

.more-menu:hover .mega-menu,
.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.mega-menu-column {
    min-width: 180px;
}

.mega-menu-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-green);
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-links li {
    margin-bottom: 0.75rem;
}

.mega-menu-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s ease;
    display: block;
    padding: 0.25rem 0;
}

.mega-menu-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-auth-guest:not([hidden]),
.nav-auth-user:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--primary-green);
}

.login-btn {
    background: var(--white);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 77, 62, 0.3);
}

.signup-btn {
    background: var(--primary-green);
    color: var(--white);
    border: 2px solid var(--primary-green);
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

a.signup-btn,
button.signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
}

.signup-btn:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 77, 62, 0.3);
}

/* Üst panel: aynı boyut + hover’da yazı her zaman okunur */
.navbar .nav-actions .login-btn,
.navbar .nav-actions .signup-btn {
    min-height: 42px;
    min-width: 7.75rem;
    padding: 0 1.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    border-radius: 8px;
    border-width: 1.5px;
    font-size: 0.95rem;
}

.navbar .nav-actions .login-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 77, 62, 0.2);
}

.navbar .nav-actions a.signup-btn:hover,
.navbar .nav-actions .signup-btn:hover {
    background: var(--white);
    color: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 77, 62, 0.2);
}

/* ========================================
   HERO SECTION STYLES
======================================== */

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    background: var(--cream);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 80px);
}

/* Left Side - Image */
.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image.hero-campus--loading {
    min-height: 280px;
    background: linear-gradient(145deg, #e8f0ed 0%, #d8e8df 50%, #cfe3d8 100%);
}

.hero-image.hero-campus--loading img {
    opacity: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
    z-index: 1;
}

/* Right Side - Content */
.hero-content {
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

.hero-text {
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-underline {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* CTA Section */
.hero-cta {
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.cta-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.cta-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--white);
    border-radius: 6px;
    cursor: pointer !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

.cta-btn-filled {
    background: var(--light-green);
    color: var(--white);
    border: 2px solid var(--light-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    cursor: pointer;
    user-select: none;
}

.cta-btn-filled:hover {
    background: var(--white);
    color: var(--primary-green);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.cta-btn-filled:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.wave-divider svg {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

@media (max-width: 1200px) {
    .nav-links {
        gap: 1.5rem;
    }

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

    .mega-menu {
        min-width: 750px;
        right: -150px;
        padding: 1.5rem;
    }

    .mega-menu-container {
        gap: 1.5rem;
    }

    .mega-menu-column {
        min-width: 150px;
    }
}

@media (max-width: 992px) {
    .navbar-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        margin-left: 0;
        gap: 0.5rem 0.75rem;
    }

    .mega-menu {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        min-height: 400px;
    }

    .hero-content {
        padding: 3rem 2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .login-btn {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    .signup-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

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

    .hero-description {
        font-size: 1rem;
    }
}

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

    .cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   GLOBAL STYLES
======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 600px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 77, 62, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

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

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-green);
}

/* ========================================
   DIRECT ADMISSIONS SECTION
======================================== */

.direct-admissions {
    background: var(--cream);
    padding: 6rem 0;
}

.da-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-size: 0.875rem;
    color: var(--text-dark);
}

.badge-text strong {
    color: var(--primary-green);
}

.da-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.da-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.da-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.da-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Profile Card Visual */
.da-visual {
    position: relative;
}

.profile-card-wrapper {
    position: relative;
    padding: 2rem;
    /* Amblemler mutlak konumlu; SVG tüm alanı kaplasın diye minimum yükseklik */
    min-height: 280px;
    overflow: visible;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.profile-card {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 220px;
    text-align: center;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-green);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accepted-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #E8F5E9;
    color: #2E7D32;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.accepted-badge span {
    color: #2E7D32;
}

.profile-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.profile-info p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* University Cards */
.university-cards {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}

.uni-card {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: absolute;
    text-decoration: none;
    cursor: pointer;
    background: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.uni-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.uni-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    box-sizing: border-box;
}

.uni-card-1 {
    top: 0;
    right: 20px;
}

.uni-card-2 {
    top: 80px;
    right: -20px;
}

.uni-card-3 {
    top: 160px;
    right: 10px;
}

/* ========================================
   FEATURES SECTION
======================================== */

.features-section {
    background: var(--white);
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-description {
    margin: 0 auto;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* ========================================
   TESTIMONIALS SECTION
======================================== */

.testimonials-section {
    background: var(--cream);
    padding: 6rem 0 0;
    position: relative;
}

.testimonials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.testimonials-text .section-title {
    font-size: 2.25rem;
}

.testimonial-quote {
    margin: 2rem 0;
    position: relative;
}

.quote-mark {
    font-size: 6rem;
    color: var(--primary-green);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-style: italic;
    padding-left: 2rem;
}

.quote-author {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1.5rem;
    padding-left: 2rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-gray);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.testimonial-dots .dot:hover {
    transform: scale(1.15);
}

.testimonial-dots .dot:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.testimonial-dots .dot.active {
    background: var(--primary-green);
}

/* Testimonial Image */
.testimonials-image {
    position: relative;
}

.testimonials-image.testimonial-img--loading {
    min-height: 260px;
    border-radius: 20px;
    background: linear-gradient(145deg, #e8f0ed 0%, #dcebe3 100%);
}

.testimonials-image.testimonial-img--loading .testimonial-slide-photo {
    opacity: 0;
}

.image-stack {
    position: relative;
}

.main-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-slide-photo {
    display: block;
    object-fit: cover;
    max-height: 420px;
    transition: opacity 0.35s ease;
}

.testimonials-image .testimonial-slide-photo.is-switching {
    opacity: 0.55;
}

.overlay-image {
    position: absolute;
    bottom: -30px;
    left: -30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--white);
}

.wave-bottom {
    margin-top: 4rem;
}

.wave-bottom svg {
    width: 100%;
    display: block;
}

/* ========================================
   TOOLS SECTION
======================================== */

.tools-section {
    background: var(--primary-green);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.tools-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

.tools-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Dashboard Preview */
.tools-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-gray);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
}

.dashboard-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--cream);
    border-radius: 10px;
}

a.dash-item {
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

a.dash-item:hover {
    background: rgba(26, 77, 62, 0.06);
}

a.dash-item:focus-visible {
    outline: 2px solid var(--primary-green, #1a4d3e);
    outline-offset: 2px;
}

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

.item-icon--logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.item-icon--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.item-status {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    width: fit-content;
}

.item-status.applied {
    background: #E3F2FD;
    color: #1976D2;
}

/* Takip listesi — örnek öğe: favoriler (Başvuruldu yerine) */
.item-status.favorites {
    background: #F3E5F5;
    color: #7B1FA2;
}

.item-status.pending {
    background: #FFF3E0;
    color: #F57C00;
}

.item-status.saved {
    background: #E8F5E9;
    color: #388E3C;
}

.progress-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.progress-header {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: var(--border-gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.tools-illustration {
    position: absolute;
    bottom: -50px;
    left: 5%;
    opacity: 0.3;
}

/* ========================================
   COMPARE SECTION
======================================== */

.compare-section {
    background: var(--cream);
}

.compare-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.compare-left {
    background: #F5A623;
    padding: 5rem 4rem;
    color: var(--white);
}

.compare-left .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.compare-left .section-title {
    color: var(--white);
    font-size: 2.25rem;
}

.compare-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.compare-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.compare-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.compare-link:hover {
    opacity: 0.8;
}

.compare-right {
    background: var(--white);
    padding: 5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-cards {
    display: flex;
    gap: 1.5rem;
}

.school-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 180px;
}

.card-image {
    height: 120px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a.compare-preview-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.compare-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

a.compare-preview-card:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 3px;
}

.compare-preview-img--loading {
    background: linear-gradient(145deg, #e8f0ed 0%, #dcebe3 100%);
}

.compare-preview-img--loading #comparePreviewCampus {
    opacity: 0;
}

.compare-card-emblem {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 40px;
    height: 40px;
    padding: 4px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-card-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

a.school-card.add-card {
    text-decoration: none;
    color: inherit;
}

.card-content {
    padding: 1rem;
    position: relative;
}

.card-badge {
    position: absolute;
    top: -15px;
    right: 10px;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-content h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.add-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-gray);
    background: transparent;
    box-shadow: none;
    min-height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-card:hover {
    border-color: var(--primary-green);
    background: var(--cream);
}

.add-icon {
    font-size: 2rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.add-card span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ========================================
   RANKINGS SECTION
======================================== */

.rankings-section {
    background: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.rankings-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

.award-card {
    text-align: center;
}

.award-badge {
    background: var(--cream);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.award-icon {
    font-size: 3rem;
    margin: 1.5rem 0 1rem;
}

.award-badge p {
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.award-badge strong {
    color: var(--primary-green);
}

.award-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.award-link:hover {
    opacity: 0.7;
}

/* ========================================
   PARTNER SECTION
======================================== */

.partner-section {
    background: var(--cream);
    padding: 6rem 0;
}

.partner-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.partner-text {
    min-width: 0;
}

.partner-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.partner-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 36rem;
}

.partner-cta {
    display: inline-block;
    text-align: center;
}

.link-underline {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 500;
}

.partner-visual {
    margin: 0;
    min-width: 0;
}

.partner-visual.partner-visual--loading {
    border-radius: 16px;
    background: linear-gradient(145deg, #e8f0ed 0%, #dcebe3 100%);
}

.partner-visual.partner-visual--loading .partner-photo {
    opacity: 0;
    min-height: min(280px, 40vh);
}

.partner-photo {
    width: 100%;
    height: auto;
    max-height: min(420px, 70vh);
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    display: block;
}

.partner-caption {
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: right;
}

.partner-logos {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-gray);
}

.partner-logos p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.logos-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 1rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

a.logo-item {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a.logo-item:hover {
    color: var(--primary-green);
}

/* ========================================
   QUIZ SECTION
======================================== */

.quiz-section {
    position: relative;
}

.quiz-wave-top {
    background: var(--cream);
}

.quiz-wave-top svg {
    width: 100%;
    display: block;
}

.quiz-content {
    background: var(--primary-green);
    padding: 4rem 0 6rem;
}

.quiz-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.quiz-illustration svg {
    width: 200px;
    height: auto;
}

.quiz-text h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quiz-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.quiz-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: var(--primary-green);
    color: var(--white);
}

.footer-top {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-main {
    padding: 3rem 0;
}

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

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: var(--white);
}

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

.social-icon {
    font-size: 1.25rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    display: block;
}

.social-icon:hover {
    opacity: 0.7;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* ========================================
   ADDITIONAL RESPONSIVE STYLES
======================================== */

@media (max-width: 992px) {
    .da-content,
    .testimonials-content,
    .tools-content,
    .partner-content,
    .quiz-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .compare-container {
        grid-template-columns: 1fr;
    }

    .compare-left,
    .compare-right {
        padding: 3rem 2rem;
    }

    .features-grid,
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .da-visual {
        order: -1;
    }

    .testimonials-image {
        order: -1;
    }
}

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

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

    .da-buttons {
        flex-direction: column;
    }

    .da-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .compare-cards {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

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

    .quiz-buttons {
        flex-direction: column;
    }

    .quiz-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .quiz-illustration {
        display: none;
    }

    .partner-photo {
        max-height: 280px;
    }

    .partner-cta {
        width: 100%;
        box-sizing: border-box;
    }

    .partner-caption {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

    .profile-card-wrapper {
        padding: 1rem;
    }

    .university-cards {
        display: none;
    }
}

/* ========================================
   MODAL STYLES
======================================== */

.modal-overlay[hidden] {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

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

.modal {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--cream);
    color: var(--text-dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(26, 77, 62, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.forgot-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.forgot-link:hover {
    opacity: 0.7;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

.modal-footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.modal-footer a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.modal-footer a:hover {
    opacity: 0.7;
}

.auth-oauth-row {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-gray, #e5e7eb);
    background: #fff;
    color: var(--text-dark, #1f2937);
    transition: background 0.2s, border-color 0.2s;
}

.btn-oauth:hover {
    background: var(--cream, #f5f5f0);
    border-color: #d1d5db;
}

.btn-oauth-google .btn-oauth-icon {
    font-weight: 800;
    color: #4285f4;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0 0.5rem;
    font-size: 0.8rem;
    color: var(--text-gray, #6b7280);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-gray, #e5e7eb);
}

.auth-divider span {
    white-space: nowrap;
}

.modal-form-message {
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.modal-form-message.is-error {
    color: #b91c1c;
}

.modal-form-message.is-success {
    color: var(--primary-green, #1a4d3e);
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .modal {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100% - 2rem);
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }
}

