/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* CSS VARIABLES – makes dark mode super clean */
:root {
    --nav-bg: #ffffff;
    --nav-text: #374151;
    --btn-text: #374151;
    --btn-text-hover: #FFFFFF;
    --light-bg: #fefefe;
    --light-text: #1f2937;
    --light-p: #4b5563;
    --dark-bg: #f6f6f6;
    --dark-text: #1f2937;
    --dark-p: #4b5563;
    --bg: #111111;
    --card: #1A1A1A;
    --border: #2A2A2A;
    --text: #E5E5E5;
    --text-inverse: #151515;
    --accent: #ff8b01;
    --white: #FeFeFe;
    --white-inverse: #2e2e2e;
}

/* MAIN CONTENT */
main {padding-top: 76px;}
.section {min-height: 100vh;display: flex;align-items: center; padding:30px 0px 30px 0px;}
.section_thin {min-height: 55vh;display: flex;align-items: center;}
.section_title {min-height: 1vh;margin-bottom:-5rem;text-align: left;}
.container0 {max-width: 1280px;padding: 1rem 1.5rem;margin: 0 auto;}
.container {max-width: 1280px;border: 1px solid #dee2e6;border-radius: 12px;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);padding: 2rem 1.5rem;margin: 0 auto;}
.container1 {max-width: 1280px;padding: 1rem 1.5rem;margin: 0 auto;}

/* HERO BACKGROUND FADER */
#slideshow {height: 55vh;background-size: cover;background-position: center;background-repeat: no-repeat;transition: background-image 2s ease;}
.hero-content {max-width: 640px;text-align:left;}
.hero-content h1 {
    font-family:"Cormorant Garamond","Playfair Display","Didot","Bodoni MT","Garamond","Times New Roman",Times,serif;
    font-weight: 300;    
    font-size: 300%;
    line-height: 1.05;
    margin-bottom: 1rem; 
    color: #FFFFFF;
}
.hero-content h1 span {
    font-family:"Cormorant Garamond","Playfair Display","Didot","Bodoni MT","Garamond","Times New Roman",Times,serif;
    font-weight: 300;    
    color: #007c75;
}
.hero-content p {font-size: 1rem;color: #eeeeee;margin-bottom: 2rem;}
.hero-buttons {display: flex;gap: 0rem;flex-wrap: wrap;}
/* Image Gallery */
.image-section {text-align:center;}
.main-image {width:100%;margin-bottom: 20px;border-radius: 12px;}
.main-image img {width: 100%;height: auto;display: block;border-radius: 12px;object-fit: cover;}
@media (orientation: landscape) {
    .hero-content h1 {font-size: 400%;line-height: 1.05;font-weight: 300;margin-bottom: 1rem;}
}
@media (orientation: portrait) {
    .hero-content h1 {font-size: 450%;line-height: 1.05;font-weight: 300;margin-bottom: 1rem;}
}
/* PANEL CONTENT */
.panel-content {display: flex;gap: 3rem;align-items: center;flex-wrap: wrap;}
.reverse {flex-direction: row-reverse;}
.image-side {flex: 1;min-width: 280px;}
.image-side img {width: 100%;border-radius: 25px;box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);display: block;}
.text-side {flex: 1;min-width: 280px;}
.text-side h2 {font-size: 2rem;font-weight: 300;letter-spacing: -0.05em;line-height: 1.1;margin-bottom: 1.1rem;}
.text-side h3 {font-size: 1.3rem;font-weight: 400;letter-spacing: -0.05em;line-height: 1.1;margin-bottom: 0.1rem;}
.text-side p {font-size: 1rem;margin-bottom: 1.5rem;}
/* TITLE */
.title {font-weight: 400;font-size: 3rem;line-height: 1.1;text-align: center;margin-bottom: 0rem;}
@media (max-width: 768px) {
    .title {font-size: 2.5rem;}
}
@media (max-width: 480px) {
    .title {font-size: 2rem;}
}
/* 3 CARDS */
.cards {display: grid;grid-template-columns: 1fr;gap: 2rem;}
@media (min-width: 768px) {
    .cards {grid-template-columns: repeat(3, 1fr);}
}
.card {background-color: var(--card);border-radius: 28px;padding: 2.75rem 2.5rem 2.5rem;position: relative;border: 1px solid var(--border);transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);overflow: hidden;}
.card:hover {transform: translateY(-12px);}
.card-content {position: relative;z-index: 2;padding-top: 1.25rem;}
.card-content p {font-size: 1.0625rem;line-height: 1.65;color: var(--text);}
.signature {margin-top: 3rem;}
.signature-name {font-weight: 600;font-size: 1.35rem;color: #ffffff;line-height: 1.2;}
.signature-role {font-size: 0.875rem;color: #A3A3A3;margin-top: 0.25rem;}
/* TEAM GALLERY AND MISSION */
.main-content {display: flex;gap: 4rem;align-items: start;}
@media (max-width: 1280px) {
    .main-content {flex-direction: column;}
}
/* === PEOPLE GRID === */
.people-grid {display: grid;grid-template-columns: repeat(3, 1fr);gap: 2.25rem;flex: 1;}
@media (max-width: 768px) {
    .people-grid {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 480px) {
    .people-grid {grid-template-columns: 1fr;}
}
.person {text-align: center;}
.person img {width: 100%;max-width: 100%;height: 320px;object-fit: cover;border-radius: 24px;border: 2px solid var(--border);box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);}
.person:hover img {transform: scale(1.04);}
.person-name {margin-top: 1.25rem;font-size: 1.25rem;font-weight: 600;line-height: 1.3;}
.person-role {font-size: 0.95rem;margin-top: 0.25rem;line-height: 1.4;}
/* === VISION GRID === */
.vision-grid {display: grid;grid-template-columns: repeat(2, 1fr);gap: 2rem;flex: 1;}
@media (max-width: 640px) {
    .vision-grid {grid-template-columns: 1fr;}
}
.vision-card {background-color: var(--card);border-radius: 28px;padding: 2.5rem 2rem;border: 1px solid var(--border);transition: transform 0.3s ease;}
.vision-card:hover {transform: translateY(-8px);}
.vision-number {font-size: 4.25rem;line-height: 1;font-weight: 700;color: var(--accent);margin-bottom: 0.5rem;display: block;}
.vision-title {font-size: 1.65rem;font-weight: 700;color: var(--white);margin-bottom: 1rem;line-height: 1.2;}
.vision-text {font-size: 1.05rem;line-height: 1.65;color: var(--text);}
/* MAIN RESPONSIVE CONTAINER2 - 50/50 split */
.container2 {max-width: 1280px;border: 1px solid #dee2e6;border-radius: 12px;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);padding: 2rem 1.5rem;margin: 0 auto;display: grid;grid-template-columns: 1fr 1fr;gap: 40px;align-items: center;}
/* LEFT SIDE - Image Gallery */
.image-section {width: 100%;}
/* MAIN IMAGE */
.main-image {margin-bottom: 20px;}
.main-image img {width: 100%;height: auto;display: block;border-radius: 12px;box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);object-fit: cover;}
/* THUMBNAILS - 3-COLUMN ROW */
.thumbnails {display: grid;grid-template-columns: repeat(3, 1fr);gap: 20px;}
.thumb {position: relative;overflow: hidden;border-radius: 12px;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);transition: transform 0.3s ease, box-shadow 0.3s ease;}
.thumb:hover {transform: translateY(-6px);box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);}
.thumb img {width: 100%;height: auto;display: block;object-fit: cover;aspect-ratio: 4 / 3;}
/* RIGHT SIDE - Text Content */
.text-section h2 {font-size: 2rem;font-weight: 300;letter-spacing: -0.05em;line-height: 1.1;margin-bottom: 1.1rem;}
.text-section h3 {font-size: 1.3rem;font-weight: 400;letter-spacing: -0.05em;line-height: 1.1;margin-bottom: 0.1rem;}
.text-section p {font-size: 1rem;margin-bottom: 1.5rem;}
/* Light panels */
.seclight {background: var(--light-bg);color: var(--light-text);}
.seclight .text-side p {color: var(--light-p);}
.seclight .text-section h2 {color: var(--light-text);}
.seclight .text-section p {color: var(--light-p);}
.seclight .container {border: 1px solid #dee2e6;}
.seclight .container2 {border: 1px solid #dee2e6;}
/* Dark panels */
.secdark {background: var(--dark-bg);color: var(--dark-text);}
.secdark .text-side p {color: var(--dark-p);}
.secdark .text-section h2 {color: var(--dark-text);}
.secdark .text-section p {color: var(--dark-p);}
.secdark .container {border: 1px solid #dee2e6;}
.secdark .container2 {border: 1px solid #dee2e6;}
/* Full-width background image panel */
.bg-image {background-image: url('/images/hero/hero.jpg');background-size: cover;background-position: center;position: relative;}
.secdark .bg-image { opacity: 0.7; }
.seclight .bg-image { opacity: 0.8; }
.bg-image::before {content: '';position: absolute;inset: 0;background: rgba(0, 0, 0, 0.45);z-index: 1;}
.bg-image .container {position: relative;z-index: 2;}
/* Buttons */
.btn {display: inline-block;padding: 1rem 2rem;border-radius: 9999px;font-size: 1.125rem;font-weight: 500;text-decoration: none;transition: all 0.3s ease;}
.seclight .btn {background: #c7a357;color: #111827;}
.seclight .btn:hover {background: #c5cad3;}
.secdark .btn {background: #c7a357;color: #111827;}
.secdark .btn:hover {background: #f3f4f6;}
/* In dark mode, ALL buttons become the light-style button */
.btn {background: #c7a357;color: #111827;}
.btn:hover {background: #f3f4f6;}
/* CONTACT Form */
.contact-container {background-color: #ffffff;max-width: 620px;width: 100%;margin-top:3rem;padding: 15px 40px;border-radius: 25px;box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);}
.contact-container h2 {text-align: center;font-size: 2.2rem;margin-bottom: 6px;color: var(--card);}
.contact-container h3 {text-align: center;font-size: 1rem;margin-bottom: 6px;color: var(--border);}
.ssubtitle {text-align: center;color: var(--border);font-size: 1.05rem;margin-bottom: 35px;}
form {display: grid;gap: 12px;}
.form-group {display: flex;flex-direction: column;}
label {font-size: 0.95rem;font-weight: 600;color: #222222;margin-bottom: 4px;}
input, textarea {padding: 14px 10px;font-size: 1rem;border: 2px solid #e0e0e0;border-radius: 10px;transition: all 0.3s ease;background-color: #ffffff;}
input:focus, textarea:focus {outline: none;border-color: #000000;box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);}
textarea {min-height: 160px;resize: vertical;}
.submit-btn {background-color: #000000;color: #ffffff;font-size: 1.1rem;font-weight: 600;padding: 16px;border: none;border-radius: 10px;cursor: pointer;transition: all 0.3s ease;margin-top: 10px;}
.submit-btn:hover {background-color: #333333;transform: translateY(-2px);}
/* CONTACT Responsive */
@media (max-width: 480px) {
    .contact-container {padding: 35px 25px;}
    .contact-container h2 {font-size: 1.9rem;}
}

/* General Responsive */
@media (max-width: 768px) {
    .panel-content, .reverse {flex-direction: column !important;}
    .text-side h2 {font-size: 2.75rem;}
    .menu {gap: 1.25rem;font-size: 1.125rem;}
    .nav-inner {height: auto;padding: 1rem 1.5rem;}
    .logo-area {margin-left:40px;}
    .right-side {margin-left:24px;}
    .logo-img {height: 3rem;}
    .container2 {grid-template-columns: 1fr;gap: 30px;}
    .thumbnails {gap: 18px;}
    .main-image {margin-bottom: 25px;}
    .text-section h2 {font-size: 1.9rem;}
}
@media (max-width: 480px) {
    .thumbnails {gap: 12px;}
    body {padding: 12px;}
}
@media (orientation: landscape){
    main {padding-top: 67px;}
}
@media (orientation: portrait){
    main {padding-top: 1px;}
}
