/* CSS Değişkenleri */
:root {
    --color-primary: #008080;
    --color-secondary: #FF4500;
    --color-blue: #3498db;
    --color-dark: #222831;
    --color-light: #EEEEEE;
    --color-white: #FFFFFF;
    --color-text: #393E46;
    
    --transition-duration: 0.3s;
    --border-radius: 16px;
    --section-padding: 80px 0;
}

/* Temel Stiller */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'Roboto', sans-serif; line-height: 1.7; color: var(--color-text); background-color: var(--color-white); overflow-x: hidden; }
.container { width: 90%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
h2.section-title { text-align: center; font-size: 2.0rem; color: var(--color-primary); margin-bottom: 30px; margin-top: 30px; letter-spacing: 2px; }
p { color: #6c757d; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-duration);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.2);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3); }

/* Navbar Stilleri */
.navbar {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.5s ease, padding 0.5s ease;
    padding: 30px 0;
}
.navbar.scrolled {
    background-color: var(--color-primary);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-container { 
    display: flex; 
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 70px;
    max-width: 100%; 
}
.logo { 
    text-decoration: none;
    flex-shrink: 0;
    font-weight: 1000;
    font-size: 2.5rem;
    letter-spacing: 15px;
}
.logo-is {
    color: var(--color-secondary);
}
.logo-rehberlik {
    color: var(--color-white);
    
}

.nav-menu {
    position: relative; 
    display: flex; 
    align-items: center; 
    list-style: none; 
    gap: 30px;
    margin-left: 80px;
}
.nav-link { 
    color: var(--color-light); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 1.1rem;
    transition: color var(--transition-duration); 
    padding-bottom: 5px; 
    border-bottom: 2px solid transparent;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    white-space: nowrap;
}
/* YENİ HALİ (Tam Daire için): */
.nav-indicator {
    position: absolute;
    top: -24px; /* Dairenin konumu */
    width: 12px;  /* Sabit genişlik */
    height: 12px; /* Sabit yükseklik */
    background-color: var(--color-secondary);
    border-radius: 50%; /* Tam bir daire yapar */
    transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1); /* Sadece 'left' geçişi yeterli */
    pointer-events: none;
}
.nav-link.active {
    color: var(--color-white); /* Aktif olduğunda da beyaz kalsın */
}
.nav-link:hover {
    color: var(--color-white);
    border-bottom-color: var(--color-secondary); 
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 50px;
}

.nav-separator {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.4);
}
.nav-actions { 
    display: flex; 
    gap: 10px; 
}
.nav-actions-2 {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.nav-actions-2 .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
}
.nav-social { display: flex; gap: 30px; }
.nav-social a { color: var(--color-white); font-size: 1.4rem; transition: transform 0.3s ease; }
.nav-social a:hover { transform: scale(1.2); color: var(--color-secondary); }
.hamburger { display: none; }
.nav-item-mobile-actions, .nav-item-social-mobile { display: none; }

.hero-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}
.hero-scene.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-subtitle-new {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.hero-title-new {
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    text-align: center;
}

.hero-btn-new {
    padding: 14px 40px;
    font-size: 1.1rem;
    border-radius: 12px;
}
.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-top: 10px;
    text-transform: uppercase;
    opacity: 0;
    animation: slideUpFadeIn 1s forwards;
    animation-delay: 0.5s;
}
.hero-subtitle-navbar{
    font-size: 0.7rem;
    letter-spacing: 9px;
    background: var(--color-light);
    padding-left: 9px;
}
.hero-section { position: relative; height: 100vh; display: flex; align-items: center; padding: 0; overflow: hidden; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-slider .swiper-slide { background-size: cover; background-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 50, 50, 0.7); z-index: 1; }
.hero-container { position: relative; z-index: 2; }
.hero-content-center {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.hero-description { font-family: 'Courier New', Courier, monospace; font-size: 1.4rem; font-weight: 500; color: var(--color-light); letter-spacing: 3px; margin: 0 auto 30px auto; min-height: 80px; visibility: hidden; }
.hero-description .typewriter-cursor { display: inline-block; width: 2px; height: 1.4rem; background-color: var(--color-light); margin-left: 8px; animation: blink-caret 0.75s step-end infinite; }
@keyframes blink-caret { from, to { opacity: 0; } 50% { opacity: 1; } }
.animated-title span { display: inline-block; font-weight: 800; line-height: 1.1; opacity: 0; animation: slideUpFadeIn 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1); color: var(--color-white); text-shadow: 2px 2px 8px rgba(0,0,0,0.3); }
@keyframes slideUpFadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.title-is { font-size: 3rem; color: var(--color-secondary) !important;; animation-delay: 0.1s; }
.title-rehberlik { font-size: 4rem;  animation-delay: 0.3s; color: var(--color-white); }

.stats-section {
    background-color: var(--color-white);
    padding: 50px 0;
}
.stats-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}
.stats-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    opacity: 0.9;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}
.stat-item {
    padding: 20px 10px;
    border-right: 1px solid #e0e0e0;
}
.stat-item:last-child {
    border-right: none;
}
.stat-item i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}
.stat-item h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1px;
    font-weight: 700;
}
.stat-item p {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
}
.custom-7-24 {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.custom-7-24 .seven {
    font-size: 1.5rem;
    font-weight: 600;
    align-self: flex-end;
    padding-bottom: 2px;
}
.custom-7-24 .slash {
    font-size: 2.8rem;
    font-weight: 300;
    color: #ccc;
    margin: 0 -2px;
}
.custom-7-24 .twenty-four {
    font-size: 1.5rem;
    font-weight: 600;
    align-self: flex-start;
    padding-top: 2px;
    margin-left: 4px;
}

.features-section { background-color: var(--color-white); padding: var(--section-padding); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.feature-item { background-color: var(--color-white); border-radius: var(--border-radius); padding: 30px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.07); transition: transform var(--transition-duration), box-shadow var(--transition-duration); display: flex; flex-direction: column; }
.feature-item:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.feature-item img { width: 150px; height: 150px; transition: transform 0.3s ease; object-fit: cover; border-radius: 50%; margin: 0 auto 25px auto; border: 4px solid; }
.feature-item:hover img {transform: scale(1.1); }
.feature-item h3 { font-size: 1.5rem; margin-bottom: 20px; }
.feature-item ul { list-style: none; text-align: left; color: var(--color-text); margin-bottom: 30px; flex-grow: 1; }
.feature-item ul li { position: relative; padding-left: 25px; margin-bottom: 12px; font-size: 1rem; }
.feature-item ul li::before { content: '\2022'; position: absolute; left: 0; font-size: 1.5rem; line-height: 1; }
.arrow-btn {
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    color: var(--color-white); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.8rem; 
    margin: 0 auto; 
    transition: transform var(--transition-duration);
    text-decoration: none; 
}
.arrow-btn:hover {
    transform: scale(1.1); 
}
.student-card img, .student-card ul li::before { border-color: var(--color-secondary); }
.student-card h3 { color: var(--color-secondary); }
.student-card .arrow-btn { background-color: var(--color-secondary); }
.parent-card img, .parent-card ul li::before { border-color: var(--color-primary); }
.parent-card h3 { color: var(--color-primary); }
.parent-card .arrow-btn { background-color: var(--color-primary); }
.corp-card img, .corp-card ul li::before { border-color: var(--color-blue); }
.corp-card h3 { color: var(--color-blue); }
.corp-card .arrow-btn { background-color: var(--color-blue); }
.student-card img {
    box-shadow: 0 0 0 10px rgba(255, 69, 0, 0.2);
}
.parent-card img {
    box-shadow: 0 0 0 10px rgba(0, 128, 128, 0.2);
}
.corp-card img {
    box-shadow: 0 0 0 10px rgba(52, 152, 219, 0.2);
}
.feature-item:hover img {
    box-shadow:
        0 0 0 4px var(--color-white),
        0 0 0 8px var(--color-secondary);
}
.parent-card:hover img {
    box-shadow:
        0 0 0 4px var(--color-white),
        0 0 0 8px var(--color-primary);
}
.corp-card:hover img {
    box-shadow:
        0 0 0 4px var(--color-white),
        0 0 0 8px var(--color-blue);
}

.about-us-section {
    padding: var(--section-padding);
    background-color: #f8f9fa;
}
.about-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.about-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-decoration: none;
}
.about-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about-card:hover img {
    transform: scale(1.1);
}
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.overlay-door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    will-change: transform;
}
.overlay-door.left {
    left: 0;
    transform: translateX(0);
}
.overlay-door.right {
    right: 0;
    transform: translateX(0);
}
.about-card:hover .overlay-door.left {
    transform: translateX(-100%);
}
.about-card:hover .overlay-door.right {
    transform: translateX(100%);
}
.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}
.about-card:hover .card-content {
    opacity: 1;
}
.card-icon {
    align-self: flex-end;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    transform: translateY(-80px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}
.about-card:hover .card-icon {
    transform: translateY(0);
}
.card-text {
    align-self: flex-start;
}
.text-top {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    transform: translateY(80px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}
.about-card:hover .text-top {
    transform: translateY(0);
}
.text-bottom {
    display: flex;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    transform: translateY(80px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
    align-items: center;
    white-space: nowrap;
    position: relative;
}
/*   NEDEN İS REHBERLİK ALTINDA ÇİZGİ OLMASINI SAĞLAR*/
.text-bottom::after {
    content: ''; /* Bu satır her zaman gereklidir */
    position: absolute;
    bottom: 8px;    /* Çizginin kutunun altından uzaklığı */
    left: 20px;     /* Çizginin soldan başlaması için (padding ile aynı değer) */
    right: 20px;    /* Çizginin sağda bitmesi için (padding ile aynı değer) */
    height: 2px;    /* Çizginin kalınlığı */
    background-color: rgba(255, 255, 255, 0.4); /* Şeffaf beyaz (koyu zeminde gri görünür) */
}
.about-card:hover .text-bottom {
    transform: translateY(0);
}
.text-bottom .text-is {
    color: var(--color-secondary);
}

.contact-section {
    background: #f8f9fa; 
    padding: var(--section-padding);
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}
.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}
.form-group {
    margin-bottom: 20px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fdfdfd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary); 
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}
.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.footer { background-color: var(--color-primary); color: var(--color-light); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; margin-bottom: 40px; }
.footer-col h3 { color: var(--color-white); font-size: 1.2rem; margin-bottom: 20px; }
.footer-about { color: rgba(255,255,255,0.7); margin-top: 15px; }
.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-white); }
.footer-contact i { margin-right: 10px; color: var(--color-secondary); }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--color-white); display: flex; align-items: center; justify-content: center; transition: background-color 0.3s; }
.social-link:hover { background-color: var(--color-secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.logo-footer { letter-spacing: 24px; padding-left: 10px; font-weight: 900;color: var(--color-white); text-decoration: none; display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 1.5rem;}


/* =================================== */
/* ===== MOBİL MENÜ ORTALAMA (YENİ) ===== */
/* =================================== */
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 1200px) {
    .logo .hero-subtitle-navbar {
        display: none;
    }
}


/* Responsive Tasarım */
@media (max-width: 1200px) {
    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-menu, .nav-right {
        display: none;
    }
    .hamburger {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        margin-top: 10px;
    }
    .hamburger-box { width: 30px; height: 24px; position: relative; }
    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { width: 100%; height: 3px; background-color: var(--color-white); border-radius: 3px; position: absolute; left: 0; transition: all 0.3s; }
    .hamburger-inner { top: 50%; transform: translateY(-50%); }
    .hamburger-inner::before, .hamburger-inner::after { content: ''; }
    .hamburger-inner::before { top: -10px; }
    .hamburger-inner::after { top: 10px; }
    .hamburger.active .hamburger-inner { background-color: transparent; }
    .hamburger.active .hamburger-inner::before { transform: translateY(10px) rotate(45deg); }
    .hamburger.active .hamburger-inner::after { transform: translateY(-10px) rotate(-45deg); }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        background-color: var(--color-primary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 40px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    .nav-menu.active .nav-item {
        display: block;
        width: 100%;
        margin: 15px 0;
    }
    .nav-item-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        width: 100%;
    }
    .nav-item-mobile-actions .btn { width: 100%; }
    .nav-item-social-mobile {
        display: flex;
        gap: 20px;
        justify-content: center;
        width: 100%;
        margin-top: 30px;
        font-size: 1.5rem;
    }
    .nav-item-social-mobile a { color: var(--color-white); }
}

@media (max-width: 992px) {
    .stats-grid, .features-grid, .about-us-grid, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        border-right: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

    .hero-title-new { font-size: 3.5rem; }
    .logo { font-size: 2rem; }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col .social-links, .footer-col .logo-footer {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .stats-grid, .features-grid, .about-us-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none !important;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
    .hero-title-new { font-size: 2.5rem; }
    .hero-description { font-size: 1.1rem; }
}