/* --- CSS Variables --- */
:root {
    --primary-color: #008080; /* Elegant Teal for AB Jeotermal */
    --secondary-color: #00b4d8; /* Brighter Cyan */
    --accent-color: #fb8500; /* Warm Orange for contrast */
    --bg-dark: #f8f9fa; /* Light background */
    --bg-card: rgba(255, 255, 255, 0.9); /* White cards with slight transparency */
    --text-main: #2d3748; /* Dark elegant gray for main text */
    --text-muted: #4a5568; /* Medium gray for secondary */
    --glass-bg: rgba(255, 255, 255, 0.85); /* Light glass effect */
    --glass-border: rgba(0, 0, 0, 0.05); /* Subtle border */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Container & Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--text-main), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.mx-auto {
    margin: 0 auto;
}

/* --- Navbar (Glassmorphism) --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 15px 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff; /* White by default on transparent navbar */
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav.scrolled .logo {
    color: var(--text-main);
}

.logo i {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    color: #fff; /* White by default */
    transition: color 0.3s;
}

nav.scrolled .nav-links li a {
    color: var(--text-main);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Slider Section --- */
.hero {
    height: 100vh;
    position: relative;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 14, 23, 0.4), rgba(10, 14, 23, 0.8));
    z-index: 1;
}

.slide-bg-1 {
    background: url('assets/slide1.png') center/cover no-repeat;
}

.slide-bg-2 {
    background: url('assets/slide2.png') center/cover no-repeat;
}

.slide-bg-3 {
    background: url('assets/slide3.png') center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 5;
    pointer-events: none;
}

.swiper-slide .hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    width: 90%;
    max-width: 800px;
    z-index: 2;
    /* ensure animation works cleanly per slide */
}

/* Swiper Controls Custom Styling */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}
.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 10;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    color: #fff;
}

.hero-content h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color);
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    /* Remove transparent fill to show stroke + gradient if needed, but text-fill-color transparent handles it */
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.3));
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 36px;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    color: white;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 180, 216, 0.5);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* --- About Section --- */
.about {
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.features-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Mission & Vision --- */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.mv-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Lighter shadow for light theme */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 180, 216, 0.2);
}

.icon-box-small {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.mv-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 15px;
}

/* --- Benefits Section --- */
.benefits {
    background: linear-gradient(to bottom, var(--bg-dark), #e2e8f0);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.3);
}

.card:hover::before {
    height: 100%;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--accent-color);
    transition: all 0.4s ease;
}

.card:hover .icon-box {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
}

/* --- CTA Section --- */
.cta {
    padding: 120px 5%;
    background: linear-gradient(rgba(0, 119, 182, 0.8), rgba(0, 119, 182, 0.8)), url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    box-shadow: 0 15px 25px rgba(255, 255, 255, 0.4);
}

/* --- Footer --- */
footer {
    background: #05080f;
    padding: 80px 5% 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    margin: 20px 0;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* --- Animations & Utilities --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 1s ease; }
.slide-up { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.slide-left { opacity: 0; transform: translateX(50px); transition: all 1s ease; }
.slide-right { opacity: 0; transform: translateX(-50px); transition: all 1s ease; }
.zoom-in { opacity: 0; transform: scale(0.9); transition: all 1s ease; }

.appear {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-content h1 { font-size: 4rem; }
    .about-content { grid-template-columns: 1fr; }
    .mission-vision-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .nav-links {
        display: none; /* Add JS toggle for mobile menu later if needed */
    }
    .menu-btn { display: block; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1rem; }
    .footer-content { grid-template-columns: 1fr; }
}
