:root {
    --primary: #EB332B;
    --dark: #121212;
    --light: #ffffff;
    --bg-alt: #f8f9fa;
    --text: #1a1a1a;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] {
    --light: #0d0d0d;
    --text: #f0f0f0;
    --bg-alt: #161616;
    --glass: rgba(0, 0, 0, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--light); color: var(--text); line-height: 1.6; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.glass { background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); }

.main-nav { position: fixed; top: 0; width: 100%; height: 75px; z-index: 2000; display: flex; align-items: center; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.brand-logo img { height: 45px; }
.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.85rem; }

.theme-switch-wrapper { background: var(--bg-alt); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; overflow: hidden; position: relative; }
.mode-icon { display: flex; flex-direction: column; transition: 0.4s; height: 68px; align-items: center; justify-content: space-around; color: var(--text); }
[data-theme="dark"] .mode-icon { transform: translateY(-34px); }

.hero-split { display: flex; min-height: 90vh; align-items: center; padding: 100px 5% 40px; background: var(--bg-alt); gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 320px; }
.hero-text h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin: 15px 0; }
.text-gradient { color: var(--primary); }

.est-badge-pill { 
    display: inline-block;
    background: rgba(235, 51, 43, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid var(--primary);
}

.hero-visual { flex: 1.2; min-width: 320px; position: relative; }
.main-hero-img { width: 100%; border-radius: 20px; object-fit: cover; height: 550px; }

.floating-badge-split { 
    position: absolute; 
    bottom: 40px; 
    left: -20px; 
    padding: 15px 25px; 
    border-radius: 15px; 
    font-weight: 700; 
    color: var(--text);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}
.floating-badge-split i { color: var(--primary); font-size: 1.5rem; }

.about-section { padding: 80px 40px; }
.about-flex-container { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.about-content-box { flex: 1; min-width: 300px; }
.about-item-simple { margin-bottom: 30px; }
.about-item-simple h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.4rem; }
.about-image-simple { flex: 1; min-width: 300px; }
.about-image-simple img { width: 100%; border-radius: 15px; }


.team-section { padding: 80px 0; background: var(--bg-alt); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.team-card { padding: 10px; border-radius: 15px; text-align: center; font-size: medium; }
.team-card img { width: 100%; height: 230px; object-fit: cover; border-radius: 99px; }

.uni-fixed-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    grid-template-rows: repeat(2, 1fr); 
    gap: 15px; margin-top: 30px; 
}
.uni-card-modern {
    position: relative;
    background: white;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.uni-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease;
}

.uni-card-modern img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.uni-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uni-card-modern:hover .uni-overlay {
    opacity: 1;
}

.story-section { 
    padding: 80px 40px; 
    background: var(--primary); 
    color: var(--text); 
    transition: color 0.3s ease;
}

.story-grid-classic { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 25px; 
}

.story-card-classic { 
    padding: 30px 20px; 
    border-radius: 25px; 
    background: var(--glass); 
    border: 1px solid var(--glass-border); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-card-classic p {
    font-weight: 500;
}

.story-card-classic strong { 
    display: block; 
    margin-top: 15px; 
    font-size: 0.85rem; 
    letter-spacing: 1px; 
    text-transform: uppercase;
    color: var(--text);
    opacity: 0.8;
}

.contact-section { padding: 80px 0; }
.contact-grid-classic { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px;  padding: 80px 40px; }
.contact-form-classic { padding: 30px; border-radius: 20px; }
.contact-form-classic input, .contact-form-classic textarea { 
    width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 8px; border: 1px solid #ddd; background: var(--bg-alt); color: var(--text);
}
.detail-item-link { text-decoration: none; color: inherit; display: block; transition: 0.3s; }
.detail-item-link:hover { transform: translateX(10px); color: var(--primary); }
.contact-details-classic .detail-item { display: flex; align-items: center; gap: 20px; margin-bottom: 45px; margin-top: 26px; }
.detail-item i { font-size: 1.2rem; color: var(--primary); }


.footer-slim { background: var(--dark); color: white; padding: 15px 0; border-top: 1px solid #333; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-logo { height: 35px; filter: brightness(0) invert(1); }
.copyright-text p { font-size: 0.8rem; color: #888; }
.social-slim { display: flex; gap: 15px; }
.social-slim i { font-size: 1.1rem; color: #888; transition: 0.3s; }
.social-slim i:hover { color: var(--primary); }


@media (max-width: 1024px) {
    .uni-fixed-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid-classic { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .main-hero-img { height: 380px; }
    .floating-badge-split { left: 10px; width: 90%; }
    .nav-links { position: fixed; top: 75px; left: -100%; width: 100%; height: calc(100vh - 75px); background: var(--light); flex-direction: column; padding: 40px; transition: 0.4s; }
    .nav-links.active { left: 0; }
    .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { width: 25px; height: 2px; background: var(--text); }
}

.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 40px; font-weight: 800; }
.btn-main { background: var(--primary); color: white; padding: 14px 35px; border-radius: 50px; text-decoration: none; font-weight: bold; border: none; cursor: pointer; display: inline-block; }
.reveal { opacity: 0; transform: translateY(20px); transition: 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.scroll-top-btn { position: fixed; bottom: 20px; right: 20px; background: var(--primary); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1000; }
.scroll-top-btn.show { opacity: 1; visibility: visible; }