/* =========================================
   VARIABLES & GLOBAL RESET
========================================= */
:root {
    --navy-blue: #001F3F;
    --navy-light: #0A2F5C;
    --red: #D90429;
    --red-dark: #A4031F;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --text-dark: #333333;
    --text-light: #666666;
    --font-main: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; background-color: var(--white); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.bg-light { background-color: var(--light-bg); }
h1, h2, h3 { color: var(--navy-blue); font-weight: 700; }

/* =========================================
   HEADER & NAVBAR
========================================= */
.header { position: fixed; top: 0; width: 100%; background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 120px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.brand-logo { max-height: 100px; width: auto; display: block; transition: transform 0.3s ease, filter 0.3s ease; animation: logoDropIn 1s ease-out forwards; }
.brand-logo:hover { transform: scale(1.08); filter: drop-shadow(0px 4px 8px rgba(217, 4, 41, 0.4)); }

@keyframes logoDropIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--navy-blue); font-weight: 600; font-size: 1rem; position: relative; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--red); }
.nav-links a:not(.btn-nav)::before { content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px; background-color: var(--red); transition: width 0.3s ease; }
.nav-links a:not(.btn-nav):hover::before { width: 100%; }

.btn-nav { background-color: var(--navy-blue); color: var(--white) !important; padding: 10px 20px; border-radius: 4px; transition: background-color 0.3s ease; }
.btn-nav:hover { background-color: var(--red); }
.menu-toggle { display: none; }
.menu-icon { display: none; cursor: pointer; padding: 10px; }

/* =========================================
   HERO SECTION
========================================= */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-blue) 0%, #11365E 60%, var(--red-dark) 100%); overflow: hidden; margin-top: 120px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 20px 20px; opacity: 0.5; }
.hero-content { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 2; padding: 0 20px; }

.welcome-text { font-family: 'Times New Roman', Times, serif; font-weight: bold; font-size: clamp(3rem, 8vw, 6rem); color: var(--white); letter-spacing: 2px; margin-bottom: 10px; opacity: 0; transform: translateY(-150px); animation: dropFromTop 1s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.brand-text { font-family: 'Impact', 'Arial Narrow Bold', sans-serif; font-size: clamp(2rem, 5vw, 4rem); display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; letter-spacing: 2px; }
.part-1 { color: var(--white); opacity: 0; transform: translateX(-150px); animation: slideFromLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards; }
.part-2 { color: var(--red); opacity: 0; transform: translateX(150px); animation: slideFromRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards; }

@keyframes dropFromTop { to { opacity: 1; transform: translateY(0); } }
@keyframes slideFromLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes slideFromRight { to { opacity: 1; transform: translateX(0); } }

/* =========================================
   GENERAL SECTIONS
========================================= */
section { padding: 100px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 10px; }
.title-underline { width: 60px; height: 4px; background-color: var(--red); margin-bottom: 40px; }
.center-line { margin: 0 auto 40px auto; }

@supports (animation-timeline: view()) {
    .reveal-section { animation: scrollReveal ease both; animation-timeline: view(); animation-range: entry 5% cover 20%; }
    @keyframes scrollReveal { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
}

.about-text { font-size: 1.2rem; color: var(--text-light); line-height: 1.8; }

.btn-read-more {
    display: inline-block;
    background-color: var(--navy-blue);
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}
.btn-read-more:hover { background-color: var(--red); color: var(--white); }

/* =========================================
   NEW: VALUES & VISION SECTION
========================================= */
.values-vision { padding: 20px 0 100px; } 
.info-boxes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.info-box.bg-navy { 
    background: linear-gradient(135deg, var(--navy-blue) 0%, #11365E 100%); 
    color: var(--white); 
    padding: 40px; 
    border-radius: 8px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.info-box h3 { 
    color: var(--white); 
    font-size: 1.8rem; 
    margin-bottom: 20px; 
    border-bottom: 2px solid var(--red); 
    padding-bottom: 10px; 
    display: inline-block; 
}

.info-box p { margin-bottom: 15px; color: #E0E0E0; line-height: 1.7; }

/* Custom Bullet Points */
.custom-bullets { list-style: none; padding-left: 0; margin-top: 20px; }
.custom-bullets li { 
    margin-bottom: 15px; 
    padding-left: 25px; 
    position: relative; 
    color: #E0E0E0; 
    line-height: 1.6; 
}
.custom-bullets li::before { 
    content: '👉'; 
    position: absolute; 
    left: 0; 
    top: 2px; 
    font-size: 0.9rem; 
}
.custom-bullets strong { color: var(--white); }

/* Subheadings for Vision/Mission */
.sub-heading { 
    color: var(--white); 
    font-size: 1.2rem; 
    margin: 25px 0 10px; 
    font-weight: 700; 
    text-transform: uppercase; 
}

/* =========================================
   STATS / COUNTER SECTION
========================================= */
.stats-section { background-color: #121212; padding: 80px 0; color: var(--white); border-top: 3px solid var(--red); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.stat-item { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 20px; border-right: 1px solid #333; }
.stat-item:last-child { border-right: none; }
.stat-icon { width: 60px; height: 60px; background-color: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 30px; height: 30px; color: var(--white); }
.stat-content { display: flex; flex-direction: column; }
.stat-number { font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: 5px; color: var(--white); }
.stat-text { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }

@property --num1 { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --num2 { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --num3 { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --num4 { syntax: "<integer>"; initial-value: 0; inherits: false; }

.count-17 { counter-reset: n1 var(--num1); animation: count-up-1 1.5s forwards; animation-timeline: view(); animation-range: entry 10% cover 30%; }
.count-17::after { content: counter(n1) "+"; }
@keyframes count-up-1 { from { --num1: 0; } to { --num1: 17; } }

.count-30 { counter-reset: n2 var(--num2); animation: count-up-2 1.5s forwards; animation-timeline: view(); animation-range: entry 10% cover 30%; }
.count-30::after { content: counter(n2) "+"; }
@keyframes count-up-2 { from { --num2: 0; } to { --num2: 30; } }

.count-100 { counter-reset: n3 var(--num3); animation: count-up-3 1.5s forwards; animation-timeline: view(); animation-range: entry 10% cover 30%; }
.count-100::after { content: counter(n3) "+"; }
@keyframes count-up-3 { from { --num3: 0; } to { --num3: 100; } }

.count-1000 { counter-reset: n4 var(--num4); animation: count-up-4 1.5s forwards; animation-timeline: view(); animation-range: entry 10% cover 30%; }
.count-1000::after { content: counter(n4) "+"; }
@keyframes count-up-4 { from { --num4: 0; } to { --num4: 1000; } }

/* =========================================
   PORTFOLIO PAGE STYLES
========================================= */
.page-header { padding: 200px 0 80px; background: linear-gradient(135deg, var(--navy-blue) 0%, #11365E 100%); color: var(--white); }
.gallery-section { padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.gallery-item { width: 100%; height: 300px; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); background-color: #eee; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }

/* =========================================
   NEW DEDICATED ABOUT PAGE STYLES
========================================= */
.about-detailed { padding: 100px 0; background-color: var(--white); }
.about-page-content { max-width: 900px; margin: 0 auto; font-size: 1.15rem; color: var(--text-light); line-height: 1.8; }
.about-page-content p { margin-bottom: 25px; text-align: justify; }
.about-page-content strong { color: var(--navy-blue); }

.highlight-box {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #11365E 100%);
    color: var(--white);
    padding: 25px 30px;
    border-left: 6px solid var(--red);
    border-radius: 8px;
    font-size: 1.3rem;
    margin-top: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-align: left;
}
.highlight-box strong { color: var(--white); }

/* =========================================
   CONTACT SECTION
========================================= */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 50px; background: var(--white); padding: 50px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.contact-info, .contact-form { flex: 1; min-width: 300px; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 15px; }
.contact-info p { color: var(--text-light); margin-bottom: 30px; }
.info-list { list-style: none; }
.info-list li { margin-bottom: 15px; font-size: 1rem; color: var(--text-dark); }
.info-list strong { color: var(--navy-blue); }

/* WhatsApp and Map Links */
.whatsapp-link, .map-link { 
    color: var(--navy-blue); 
    text-decoration: none; 
    font-weight: bold; 
    transition: color 0.3s ease; 
}
.whatsapp-link:hover { color: #25D366; }
.map-link:hover { color: var(--red); text-decoration: underline; }

.input-group { margin-bottom: 20px; }
.input-group input, .input-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: var(--font-main); font-size: 1rem; transition: border-color 0.3s ease; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--navy-blue); }
.submit-btn { background-color: var(--red); color: var(--white); border: none; padding: 15px 30px; font-size: 1rem; font-weight: 600; border-radius: 4px; cursor: pointer; transition: background-color 0.3s ease; width: 100%; }
.submit-btn:hover { background-color: var(--navy-blue); }

/* =========================================
   FOOTER
========================================= */
.footer { background-color: var(--navy-blue); color: var(--white); padding: 30px 0; font-size: 0.9rem; }

/* =========================================
   MEDIA QUERIES (MOBILE RESPONSIVENESS)
========================================= */
@media (max-width: 768px) {
    .nav-wrapper { height: 80px; } 
    .brand-logo { max-height: 60px; } 
    .hero { margin-top: 80px; height: 65vh; }
    .page-header { padding: 150px 0 60px; }

    .welcome-text { font-size: clamp(1.2rem, 5vw, 1.8rem); margin-bottom: 5px; }
    .brand-text { font-size: clamp(2.5rem, 10vw, 3.5rem); flex-direction: column; gap: 0; line-height: 1; }
    .part-2 { transform: translateY(150px); animation: slideFromBottomMobile 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards; }
    @keyframes slideFromBottomMobile { to { opacity: 1; transform: translateY(0); } }

    .menu-icon { display: block; }
    .navicon { background: var(--navy-blue); display: block; height: 3px; position: relative; transition: background .2s ease-out; width: 25px; }
    .navicon:before, .navicon:after { background: var(--navy-blue); content: ''; display: block; height: 100%; position: absolute; transition: all .2s ease-out; width: 100%; }
    .navicon:before { top: 8px; }
    .navicon:after { top: -8px; }
    
    .nav-links { position: absolute; top: 80px; left: 0; width: 100%; background-color: var(--white); flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; box-shadow: 0 10px 10px rgba(0,0,0,0.1); }
    .nav-links a { width: 100%; text-align: center; padding: 20px; border-bottom: 1px solid #eee; }
    .nav-links a:hover { background-color: var(--light-bg); }
    .nav-links a:not(.btn-nav)::before { display: none; }
    .btn-nav { border-radius: 0; }
    .menu-toggle:checked ~ .nav-links { max-height: 400px; }
    .menu-toggle:checked ~ .menu-icon .navicon { background: transparent; }
    .menu-toggle:checked ~ .menu-icon .navicon:before { transform: rotate(-45deg); top: 0; }
    .menu-toggle:checked ~ .menu-icon .navicon:after { transform: rotate(45deg); top: 0; }
    
    .info-boxes-grid { grid-template-columns: 1fr; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .stat-item { border-right: none; border-bottom: 1px solid #333; padding-bottom: 30px; justify-content: flex-start; }
    .stat-item:last-child { border-bottom: none; }

    .contact-wrapper { padding: 30px 20px; }
}