/* =========================================
   GLOBAL VARIABLES & CSS
   ========================================= */
:root {
    --primary: #0B2545;       /* Navy Blue */
    --primary-light: #163a66;
    --secondary: #C5A059;     /* Gold */
    --secondary-dark: #b08d4a;
    --text-dark: #1a1a1a;
    --text-grey: #555;
    --bg-light: #F8F9FA;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --card-hover: 0 15px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Open Sans', sans-serif; -webkit-tap-highlight-color: transparent; }

body { background: var(--bg-light); overflow-x: hidden; color: var(--text-dark); position: relative; }

h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-weight: 700; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
p { line-height: 1.6; color: var(--text-grey); margin-bottom: 15px; }

/* --- CONTAINER --- */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.section-padding { padding: 80px 0; }
@media (max-width: 768px) { .section-padding { padding: 50px 0; } }

.text-center { text-align: center; }
.bg-white { background: var(--white); }

/* --- SCROLL ANIMATION --- */
.reveal-on-scroll { opacity: 0; transform: translateY(40px); transition: all 1s ease-out; }
.reveal-on-scroll.active { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 30px; border-radius: 50px; 
    font-weight: 600; text-transform: uppercase; cursor: pointer; font-size: 13px;
    transition: var(--transition); border: none; letter-spacing: 0.5px; gap: 8px;
}
.btn-primary { background: var(--secondary); color: var(--white); box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4); }
.btn-primary:hover { background: var(--secondary-dark); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(197, 160, 89, 0.6); }

.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-white-outline { border: 2px solid #fff; color: #fff; background: rgba(0,0,0,0.2); backdrop-filter: blur(2px); }
.btn-white-outline:hover { background: #fff; color: var(--primary); }

.btn-sm { padding: 8px 20px; font-size: 11px; }

/* PWA INSTALL BUTTON STYLES (SEPARATE) */
.btn-pwa-android {
    background: #fff; color: #3DDC84; /* Android Green Text */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
    font-weight: 700;
}
.btn-pwa-android:hover { background: #f0f0f0; transform: translateY(-2px); color: #33b86e; }

.btn-pwa-ios {
    background: #000; color: #fff; /* iOS Black/White */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
    font-weight: 700;
}
.btn-pwa-ios:hover { background: #333; transform: translateY(-2px); }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* UPDATE: NEW BUTTONS FOR EMERGENCY/EXTERNAL */
.btn-emergency { background: #dc3545; color: white; border: none; }
.btn-emergency:hover { background: #b02a37; color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4); }

.btn-whatsapp { background: #25D366; color: white; border: none; }
.btn-whatsapp:hover { background: #1ebc59; color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }

.btn-external { background: #007bff; color: white; border: none; }
.btn-external:hover { background: #0056b3; color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4); }

/* UPDATE: SHARE BUTTON STYLE */
.share-btn-styled {
    width: 35px; height: 35px; border-radius: 50%; background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); cursor: pointer; transition: 0.3s;
}
.share-btn-styled:hover { background: var(--secondary); color: white; transform: rotate(15deg); }

/* Section Headings */
.section-header { margin-bottom: 60px; text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header h6 { color: var(--secondary); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; font-size: 12px; }
.section-header h2 { font-size: 36px; margin-bottom: 15px; position: relative; display: inline-block; color: var(--primary); }
.section-header h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--secondary); margin: 15px auto 0; border-radius: 2px; }
@media (max-width: 600px) { .section-header h2 { font-size: 28px; } }

/* --- HEADER & NAVIGATION --- */
.top-bar { 
    background: var(--primary); color: var(--white); padding: 10px 0; font-size: 13px; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    position: relative; z-index: 1001; 
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }

.contact-info-top { display: flex; gap: 25px; }
.contact-info-top a { display: flex; align-items: center; gap: 8px; opacity: 0.9; }

header { 
    background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.05); 
    position: sticky; top: 0; z-index: 1000; height: 80px; transition: 0.3s; 
}
.navbar { height: 100%; display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 26px; font-weight: 800; color: var(--primary); text-transform: uppercase; cursor: pointer; letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.logo i { color: var(--secondary); font-size: 22px; } 
.logo span { color: var(--secondary); }

.desktop-nav { display: flex; gap: 30px; align-items: center; }
.nav-item { font-weight: 600; color: var(--primary); cursor: pointer; font-size: 14px; position: relative; padding: 28px 0; font-family: 'Montserrat', sans-serif; text-transform: uppercase; }
.nav-item::after { content: ''; position: absolute; bottom: 20px; left: 0; width: 0; height: 2px; background: var(--secondary); transition: 0.3s; }
.nav-item:hover { color: var(--secondary); }
.nav-item:hover::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-menu { 
    position: absolute; top: 100%; left: 0; background: white; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); min-width: 260px; display: none; 
    flex-direction: column; border-top: 3px solid var(--secondary); 
    z-index: 1100; border-radius: 0 0 4px 4px; padding: 5px 0;
}
.dropdown:hover .dropdown-menu { display: flex; animation: slideUpFade 0.3s ease; }
.dropdown-menu a { 
    padding: 12px 20px; border-bottom: 1px solid #f9f9f9; font-size: 14px; 
    color: var(--text-dark); transition: 0.2s; font-weight: 500; cursor: pointer;
}
.dropdown-menu a:hover { background: #fcfcfc; color: var(--secondary); padding-left: 25px; }

.dropdown-separator { border-top:1px solid #eee; margin:5px 0; }
.nested-dropdown-wrapper { position: relative; }
.nested-menu {
    position: absolute; left: 100%; top: 0;
    background: white; box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    min-width: 200px; display: none; flex-direction: column;
    border-left: 3px solid var(--secondary);
}
.nested-dropdown-wrapper:hover .nested-menu { display: flex; animation: slideUpFade 0.3s ease; }
.nested-trigger { background: #fdfdfd; font-weight: 700 !important; }

.hamburger { display: none; font-size: 24px; cursor: pointer; color: var(--primary); padding: 10px; }

/* Mobile Menu */
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1100; display: none; backdrop-filter: blur(3px); }
.mobile-menu { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: var(--white); z-index: 1101; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); overflow-y: auto; display: flex; flex-direction: column; box-shadow: 5px 0 30px rgba(0,0,0,0.2); }
.mobile-menu.active { left: 0; }
.mobile-header { padding: 20px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; background: #fafafa; }
.m-link { display: block; padding: 15px 20px; font-weight: 700; border-bottom: 1px solid #f5f5f5; color: var(--primary); text-transform: uppercase; font-size: 14px; position: relative; cursor: pointer; }
.m-dropdown { display: none; background: #f9f9f9; }
.m-dropdown.active { display: block; }
.m-dropdown a { display: block; padding: 12px 30px; color: #666; font-size: 14px; border-bottom: 1px solid #eee; font-weight: 500; cursor: pointer; }

/* =========================================
   PARTNER MARQUEE SLIDER
   ========================================= */
.partner-section { background: white; padding: 60px 0; overflow: hidden; border-top: 1px solid #eee; }
.marquee-wrapper { width: 100%; overflow: hidden; white-space: nowrap; position: relative; }
.marquee-track {
    display: flex; gap: 80px; align-items: center;
    animation: scroll 25s linear infinite;
    width: max-content; 
    padding-left: 50px;
}
.partner-item {
    flex: 0 0 auto; width: 160px; height: 90px; 
    display: flex; align-items: center; justify-content: center;
    filter: grayscale(100%); opacity: 0.7; transition: 0.3s;
}
.partner-item:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.partner-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider-container { position: relative; width: 100%; height: 75vh; overflow: hidden; background: #000; }
@media (max-width: 768px) { .hero-slider-container { height: 60vh; } }

.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.hero-slide::before { content:''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-content { position: relative; z-index: 3; text-align: center; padding: 20px; max-width: 900px; animation: fadeInUp 1.2s ease forwards; margin-bottom: 50px; display: flex; flex-direction: column; align-items: center; }
.hero-content h1 { font-size: 48px; font-weight: 900; color: #ffffff !important; margin-bottom: 20px; text-shadow: 0 4px 20px rgba(0,0,0,0.8); line-height: 1.2; letter-spacing: 1px; text-transform: uppercase; }
.hero-content p { color: #f0f0f0 !important; font-size: 18px; font-weight: 400; margin-bottom: 0; text-shadow: 0 2px 10px rgba(0,0,0,0.9); max-width: 700px; letter-spacing: 0.5px; }
.static-hero-overlay { position: absolute; bottom: 12%; left: 0; right: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 15px; pointer-events: none; }
.hero-btn-group { display: flex; justify-content: center; gap: 20px; pointer-events: auto; }
.static-hero-overlay .btn { pointer-events: auto; min-width: 170px; }

/* =========================================
   SOCIAL BANNER & BUTTONS
   ========================================= */
.social-banner-section { background: white; padding: 30px 20px; margin: 0 auto 60px; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,0.06); max-width: 800px; text-align: center; border: 1px solid #eee; }
.social-banner-section h4 { margin-bottom: 20px; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }
.social-row-center { display: flex; justify-content: center; gap: 20px; align-items: center; flex-wrap: nowrap; }
.social-pill { display: flex; align-items: center; gap: 10px; padding: 10px 25px; border-radius: 50px; color: white; font-weight: 600; font-size: 14px; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.15); white-space: nowrap; }
.social-pill:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); }

.sp-fb { background: #3b5998; }
.sp-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sp-wa { background: #25D366; }

/* HERO SOCIAL BUTTONS (Inside Banner) */
.hero-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-soc-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 4px; color: white;
    font-size: 11px; font-weight: 600; text-decoration: none;
    transition: 0.2s;
}
.hero-soc-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.hero-soc-btn.fb { background: #3b5998; }
.hero-soc-btn.insta { background: #E1306C; }
.hero-soc-btn.wa { background: #25D366; }

@media (max-width: 600px) {
    .social-banner-section { width: 95%; margin: 0 auto 40px; padding: 20px 10px; }
    .social-row-center { gap: 15px; }
    .social-pill { padding: 0; width: 50px; height: 50px; justify-content: center; border-radius: 50%; }
    .social-pill span { display: none; } 
    .social-pill i { margin: 0; font-size: 20px; } 
}

/* =========================================
   TIMELINE
   ========================================= */
.timeline-container { position: relative; max-width: 1000px; margin: 0 auto; padding: 20px 0; }
.timeline-container::after { content: ''; position: absolute; width: 3px; background-color: #e0e0e0; top: 0; bottom: 0; left: 50%; margin-left: -1.5px; border-radius: 2px; }
.timeline-row { padding: 10px 40px; position: relative; width: 50%; box-sizing: border-box; }
.timeline-row:nth-child(odd) { left: 0; text-align: right; }
.timeline-row:nth-child(even) { left: 50%; text-align: left; }
.timeline-content { padding: 30px; background: white; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: relative; z-index: 10; transition: 0.3s; border: 1px solid rgba(0,0,0,0.02); }
.timeline-content:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.timeline-content h3 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.timeline-row::after { content: ''; position: absolute; width: 20px; height: 20px; background-color: var(--white); border: 5px solid var(--secondary); top: 30px; border-radius: 50%; z-index: 11; box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.2); }
.timeline-row:nth-child(odd)::after { right: -10px; }
.timeline-row:nth-child(even)::after { left: -10px; }
.step-num { position: absolute; top: 15px; right: 20px; font-size: 60px; font-weight: 900; color: rgba(0,0,0,0.03); line-height: 1; font-family: 'Montserrat'; pointer-events: none; }
.timeline-row:nth-child(odd) .step-num { left: 20px; right: auto; }

@media screen and (max-width: 768px) {
    .timeline-container::after { left: 20px; } 
    .timeline-row { width: 100%; padding-left: 60px; padding-right: 0; left: 0 !important; text-align: left !important; margin-bottom: 20px; }
    .timeline-row::after { left: 10px !important; right: auto !important; }
    .step-num { right: 20px !important; left: auto !important; }
    .timeline-content { text-align: left; }
}

/* =========================================
   PROJECTS & SERVICES & FEATURES
   ========================================= */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; position: relative; display: flex; flex-direction: column; transition: var(--transition); }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--card-hover); }
.project-img { height: 240px; overflow: hidden; position: relative; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.project-card:hover .project-img img { transform: scale(1.1); }
.badge { position: absolute; top: 15px; left: 15px; padding: 5px 12px; background: var(--secondary); color: white; font-size: 11px; font-weight: 700; text-transform: uppercase; border-radius: 30px; z-index: 2; }
.project-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.project-info h3 { font-size: 18px; margin-bottom: 5px; color: var(--primary); }

/* --- Feature List Styling --- */
.feature-tick-list { 
    margin-bottom: 25px; display: flex; flex-direction: column; gap: 10px; 
}
.feature-item-styled {
    display: flex; align-items: center; gap: 15px;
    background: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    font-size: 14px;
    color: #444;
    transition: 0.2s;
}
.feature-item-styled:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.08); transform: translateX(5px); }
.feat-icon {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--secondary); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; flex-shrink: 0;
}

/* Post Feature List (Inside Sub-Service) */
.post-feature-list { list-style: none; padding-left: 5px; }
.post-feature-list li { font-size: 13px; color: #666; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }

/* Collapsible Content Animation */
.collapsible-content { overflow: hidden; }
.slide-down { animation: slideDown 0.4s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }


/* --- DETAIL PAGES --- */
.service-detail-header-nav { background: #fff; padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 80px; z-index: 900; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.nav-buttons-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.header-mid-logo { height: 40px; max-width: 150px; object-fit: contain; margin: 0 auto; }
.back-btn-styled { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); font-size: 13px; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 0.5px; background: #f4f4f4; padding: 8px 15px; border-radius: 4px; }
.back-btn-styled:hover { background: #e0e0e0; }
.detail-hero-banner { width: 100%; height: 60vh; max-height: 500px; position: relative; background-size: cover; background-position: center; background-attachment: scroll; cursor: default; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-text-content { padding-bottom: 40px; color: white; }
.hero-text-content h1 { color: white; font-size: 42px; text-transform: uppercase; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-badge { display: inline-block; background: var(--secondary); color: white; padding: 5px 12px; font-size: 11px; text-transform: uppercase; font-weight: 700; margin-bottom: 15px; border-radius: 4px; }
.hero-loc { font-size: 16px; opacity: 0.9; display: flex; align-items: center; gap: 8px; }

.project-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.sub-images-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 15px; margin-top: 15px; }
.sub-images-grid img { height: 90px; width: 100%; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: 0.8; transition:0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.sub-images-grid img:hover { opacity: 1; transform: scale(1.05); }

/* Lightbox */
.lightbox-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.lightbox-modal.active { display: flex; opacity: 1; }
.lightbox-content { max-width: 95vw; max-height: 95vh; position: relative; }
.lightbox-content img { max-width: 100%; max-height: 95vh; object-fit: contain; box-shadow: 0 0 50px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: -40px; right: 0; color: white; font-size: 30px; cursor: pointer; }

/* Grids */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.feature-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; cursor: pointer; transition: var(--transition); }
.card-media { height: 200px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f4f4f4; font-size: 60px; color: var(--secondary); }
.card-body { padding: 25px; }

.biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.biz-item { background: white; text-align: center; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding-bottom: 20px; }
.biz-img-wrap { height: 180px; overflow: hidden; margin-bottom: 20px; }
.biz-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.biz-content { padding: 0 20px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-box { background: white; padding: 40px; border-radius: 12px; box-shadow: var(--shadow); }

/* Footer */
footer { background: var(--primary); color: #ccc; padding: 80px 0 25px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 60px; }
.footer-col h3 { color: white; margin-bottom: 25px; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; border-bottom: 2px solid var(--secondary); display: inline-block; padding-bottom: 10px; }
.footer-links li { margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-contact li { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: white; transition: 0.3s; }
.footer-social-btn:hover { background: var(--secondary); transform: translateY(-3px); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); animation: fadeIn 0.3s; }
.modal-content { background: white; width: 90%; max-width: 550px; padding: 40px; border-radius: 12px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-height: 90vh; overflow-y: auto; }
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 24px; cursor: pointer; color: #999; }
.form-control { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 15px; background: #f9f9f9; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* Page System */
.page-section { display: none; animation: fadeIn 0.4s ease; padding-top: 20px; }
#home.page-section { padding-top: 0; }
.page-section.active { display: block; }
#loader { position: fixed; inset: 0; background: white; z-index: 9999; display: flex; align-items: center; justify-content: center; }

/* Responsive */
@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .project-detail-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .container { padding-left: 25px; padding-right: 25px; }
    .detail-hero-banner { height: 40vh; min-height: 250px; }
    .hero-text-content h1 { font-size: 24px; }
    .top-bar { display: block !important; }
    .top-bar .container { justify-content: center; gap: 10px; flex-direction: column; }
    .contact-info-top { justify-content: center; }
    .hero-content h1 { font-size: 28px; }
    .projects-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .split-layout { flex-direction: column; }
    .split-layout > div { min-width: 100% !important; }
    .header-mid-logo { max-width: 100px; height: 30px; }
    .hero-btn-group { flex-direction: column; gap: 10px; width: 100%; padding: 0 20px; }
}

@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes slideUpFade { from{opacity:0; transform: translateY(15px);} to{opacity:1; transform: translateY(0);} }
@keyframes fadeInUp { from{ transform: translateY(30px); opacity:0;} to{ transform: translateY(0); opacity:1;} }