:root {
    --primary-navy: #1a2a4a;
    --primary-yellow: #f0b429;
    --accent-red: #e63946;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #121c32;
    --text-main: #333333;
    --text-muted: #666666;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-family: var(--font-body); color: var(--text-main); line-height: 1.6; }

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

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--primary-navy); margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 4rem 0; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; text-transform: uppercase; letter-spacing: 2px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary-yellow); margin: 10px auto 0; }
.mt-5 { margin-top: 3rem; }

/* Buttons */
.btn { display: inline-block; padding: 12px 30px; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: var(--transition); font-size: 0.9rem; }
.btn-primary { background-color: var(--primary-yellow); color: var(--primary-navy); }
.btn-primary:hover { background-color: var(--primary-navy); color: var(--primary-yellow); }
.btn-outline { background-color: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background-color: var(--white); color: var(--primary-navy); }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

/* Navbar */
.navbar { background-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 4px 30px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; transition: var(--transition); border-bottom: 1px solid rgba(255,255,255,0.3); }
.nav-container { display: flex; justify-content: space-between; align-items: flex-end; width: 90%; max-width: 1200px; margin: 0 auto; padding-top: 10px; padding-bottom: 0; }
.logo { display: flex; align-items: center; padding-bottom: 10px; }
.logo-desktop { display: block; }
.logo-mobile { display: none; }
.nav-logo-img { max-height: 100px; width: auto; transition: var(--transition); }
.hamburger { display: none; font-size: 1.5rem; color: var(--primary-navy); cursor: pointer; padding-bottom: 15px; }

/* Chrome Tabs CSS */
.nav-menu { display: flex; list-style: none; gap: 4px; }
.nav-link { 
    display: block; 
    padding: 10px 20px; 
    background-color: #e8eaed; 
    color: #5f6368; 
    border-radius: 10px 10px 0 0; 
    font-family: var(--font-heading); 
    font-weight: 600; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    border: 1px solid transparent; 
    border-bottom: 1px solid #dadce0; 
    position: relative; 
    transition: all 0.2s ease; 
}
.nav-link:hover { 
    background-color: #f8f9fa; 
    color: var(--primary-navy); 
}
.nav-link.active { 
    background-color: rgba(255, 255, 255, 0.9); 
    color: var(--primary-navy); 
    border-color: rgba(255,255,255,0.3); 
    border-bottom-color: transparent; 
    z-index: 2; 
    margin-bottom: -1px; 
    padding-bottom: 11px;
}

/* Main Content & Tabs */
.main-content { margin-top: 80px; min-height: calc(100vh - 80px - 200px); }
.tab-content { display: none; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.tab-content.active-tab { display: block; opacity: 1; transform: translateY(0); animation: fadeInSlide 0.4s ease forwards; }

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home */
.hero { position: relative; min-height: 85vh; padding: 6rem 0 4rem; background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(26, 42, 74, 0.75); }
.hero-content { position: relative; z-index: 10; color: var(--white); width: 80%; display: flex; flex-direction: column; align-items: center;}
.hero-title { font-size: 5rem; color: var(--accent-red); margin-bottom: 0.5rem; letter-spacing: 4px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.5rem; font-weight: 400; letter-spacing: 3px; margin-bottom: 1rem; color: var(--white); }
.hero-tagline { font-size: 1.1rem; color: var(--primary-yellow); font-family: var(--font-heading); font-style: italic; margin-bottom: 3rem; }
.stats-container { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem; }
.stat-item { display: flex; flex-direction: column; align-items: center;  text-align: center;}
.stat-item i { font-size: 2.5rem; color: var(--primary-yellow); margin-bottom: 1rem; }
.stat-text { font-size: 1.2rem; font-weight: 600; font-family: var(--font-heading); }
.hero-cta { display: flex; gap: 1.5rem; }
.intro-banner { background: var(--primary-yellow); padding: 1.5rem; text-align: center; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: var(--primary-navy); }
.intro-banner p { margin: 0; color: var(--primary-navy); }

/* Home Gallery */
.home-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.home-gallery-item { position: relative; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.home-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.home-gallery-item:hover img { transform: scale(1.05); }
.home-gallery-item .overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(26, 42, 74, 0.9), transparent); color: var(--white); padding: 20px 15px 15px; font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; text-align: center; transform: translateY(10px); opacity: 0; transition: all 0.3s ease; }
.home-gallery-item:hover .overlay { transform: translateY(0); opacity: 1; }

/* About Us */
.about-text { max-width: 800px; margin: 0 auto 4rem; text-align: center; font-size: 1.1rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1px) ; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.card { background: var(--white); padding: 3rem 2rem; border-radius: 8px; box-shadow: var(--shadow); text-align: center; transition: var(--transition); border-top: 4px solid var(--primary-navy); }
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: var(--accent-red); }
.card-icon i { font-size: 3rem; color: var(--primary-yellow); margin-bottom: 1.5rem; }
.quote-section { background: var(--bg-dark); color: var(--white); padding: 4rem 2rem; border-radius: 8px; position: relative;}
.quote-container { display: flex; align-items: center; justify-content: center; gap: 3rem; max-width: 1000px; margin: 0 auto; }
.quote-image { flex-shrink: 0; width: 220px; border-radius: 24px; overflow: hidden; border: 4px solid var(--primary-yellow); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.quote-image img { width: 100%; height: auto; display: block; }
.quote-section blockquote { font-size: 1.5rem; text-align: left; line-height: 1.8; position: relative; z-index: 2; font-style: italic; flex: 1; margin: 0; }
.quote-section cite { display: block; margin-top: 1.5rem; font-style: normal; font-weight: 600; font-size: 1.1rem; color: var(--primary-yellow); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid #eaeaea; padding: 2.5rem 2rem; border-radius: 6px; text-align: center; transition: var(--transition); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background-color: var(--primary-navy); cursor: default; }
.service-card:hover h4, .service-card:hover i { color: var(--white); }
.service-card i { font-size: 2.5rem; color: var(--primary-navy); margin-bottom: 1.5rem; transition: var(--transition); }
.service-card h4 { font-size: 1.1rem; margin: 0; transition: var(--transition); }

.pill-scroll-container { width: 100%; overflow-x: auto; padding: 1rem 0; padding-bottom: 2rem; scrollbar-width: none; }
.pill-scroll-container::-webkit-scrollbar { display: none; }
.pill-list { display: flex; gap: 1rem; width: max-content; margin: 0 auto; }
.pill { background: var(--white); border: 2px solid var(--primary-navy); color: var(--primary-navy); padding: 10px 20px; border-radius: 30px; font-weight: 600; font-size: 0.9rem; white-space: nowrap; transition: var(--transition); }
.pill:hover { background: var(--primary-navy); color: var(--white); }

/* Packages */
.packages-wrapper { margin-bottom: 4rem; }
.table-container { overflow-x: auto; }
.packages-table { width: 100%; border-collapse: collapse; background: var(--white); box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
.packages-table th, .packages-table td { padding: 1.5rem; text-align: left; border-bottom: 1px solid #eaeaea; }
.packages-table th { background: var(--primary-navy); color: var(--white); font-family: var(--font-heading); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.packages-table tr:last-child td { border-bottom: none; }
.packages-table tr:hover { background: var(--bg-light); }
.pkg-name { font-weight: 700; color: var(--accent-red); font-family: var(--font-heading); }
.pkg-price { font-weight: 600; color: var(--primary-navy); font-size: 1.1rem; }

.build-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.build-card { background: var(--white); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid #eaeaea; display: flex; flex-direction: column; position: relative; transition: var(--transition); }
.build-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.build-card.highlighted { border: 2px solid var(--primary-yellow); transform: scale(1.02); }
.build-card.highlighted:hover { transform: scale(1.02) translateY(-5px); }
.badge { background: var(--primary-yellow); color: var(--primary-navy); position: absolute; top: 0; right: 0; padding: 5px 15px; font-size: 0.8rem; font-weight: 700; border-bottom-left-radius: 8px; }
.build-header { background: var(--primary-navy); color: var(--white); padding: 2rem; text-align: center; }
.build-header h3 { color: var(--white); margin-bottom: 0.5rem; letter-spacing: 2px; }
.price { font-size: 2rem; font-weight: 700; color: var(--primary-yellow); }
.price span { font-size: 1rem; color: rgba(255,255,255,0.7); font-weight: 400; }
.build-body { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.build-body ul { list-style: none; margin-top: 1rem; margin-bottom: 1.5rem; flex-grow: 1; }
.build-body li { padding: 10px 0; border-bottom: 1px solid #eaeaea; font-size: 0.95rem; }
.build-body li:last-child { border-bottom: none; }
.build-body li strong { color: var(--primary-navy); }
.spec-toggle { width: 100%; border-color: var(--primary-navy); color: var(--primary-navy); margin-top: 1rem; }
.spec-details { background: var(--bg-light); padding: 1rem; border-radius: 4px; margin-top: 1rem; font-size: 0.9rem; }
.spec-details.hidden { display: none; }
.spec-details p { margin-bottom: 0.5rem; }
.spec-details p:last-child { margin-bottom: 0; }
.disclaimer { margin-top: 2.5rem; padding: 1.5rem; background: rgba(240, 180, 41, 0.1); border-left: 4px solid var(--primary-yellow); border-radius: 4px; font-size: 0.9rem; color: var(--text-main); }
.disclaimer i { color: var(--primary-yellow); margin-right: 5px; }

/* Our Work */
.work-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.filter-btn { background: transparent; border: 2px solid var(--primary-navy); padding: 8px 20px; border-radius: 30px; color: var(--primary-navy); font-weight: 600; cursor: pointer; transition: var(--transition); outline: none; }
.filter-btn.active, .filter-btn:hover { background: var(--primary-navy); color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: #e0e6ed; aspect-ratio: 4/3; opacity: 0; transform: translateY(20px); animation: galleryFadeIn 0.5s ease forwards; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; cursor: pointer; }
.gallery-item:hover img { transform: scale(1.05); }
.img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--primary-navy); opacity: 0.5; padding: 2rem; text-align: center; }
.img-placeholder i { font-size: 3rem; margin-bottom: 1rem; }
.img-placeholder span { font-size: 0.9rem; font-weight: 500; }
.gallery-caption { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(26, 42, 74, 0.9); color: var(--white); padding: 15px; font-family: var(--font-heading); font-size: 1rem; transform: translateY(100%); transition: var(--transition); text-align: center; }
.gallery-item:hover .gallery-caption { transform: translateY(0); }

@keyframes galleryFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.gallery-load-more { text-align: center; margin-top: 2.5rem; }
.gallery-load-btn { border-color: var(--primary-navy); color: var(--primary-navy); }
.gallery-load-btn:hover { background: var(--primary-navy); color: var(--white); }
.gallery-load-more.hidden { display: none; }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 0 40px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 2.5rem; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover { color: var(--primary-yellow); transform: scale(1.2); }
.lightbox-caption { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: white; font-family: var(--font-heading); font-size: 1.2rem; text-align: center; background: rgba(0,0,0,0.5); padding: 10px 25px; border-radius: 6px; }

/* Contact Us */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.info-list { list-style: none; margin: 2rem 0; }
.info-list li { display: flex; align-items: flex-start; margin-bottom: 1.5rem; font-size: 1.05rem; }
.info-list i { color: var(--primary-yellow); font-size: 1.2rem; margin-right: 15px; margin-top: 5px; }
.social-links { display: flex; gap: 1rem; margin-bottom: 2rem; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--primary-navy); color: var(--white); border-radius: 50%; transition: var(--transition); }
.social-icon:hover { background: var(--primary-yellow); color: var(--primary-navy); transform: translateY(-3px); }
.map-container { overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }

.contact-form-container { background: var(--white); padding: 3rem; border-radius: 8px; box-shadow: var(--shadow); border-top: 4px solid var(--primary-yellow); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary-navy); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary-navy); box-shadow: 0 0 0 2px rgba(26, 42, 74, 0.1); }
.btn-submit { width: 100%; font-size: 1.1rem; padding: 15px; background: var(--primary-yellow); color: var(--primary-navy); }
.btn-submit:hover { background: var(--primary-navy); color: var(--primary-yellow); }

.career-card { background: var(--bg-light); padding: 2rem; border-radius: 8px; text-align: center; margin-top: 2rem; border: 1px dashed #ccc; }
.career-card h4 { color: var(--accent-red); margin-bottom: 0.5rem; }
.career-card p { margin: 0; font-size: 0.95rem; }

/* Footer */
.footer { background: var(--bg-dark); color: var(--white); padding: 4rem 0 0 0; }
.footer-container { display: flex; justify-content: space-between; align-items: center; width: 90%; max-width: 1200px; margin: 0 auto; padding-bottom: 3rem; flex-wrap: wrap; gap: 2rem; }
.footer-brand { display: flex; justify-content: center; align-items: center; }
.footer-logo-img { max-height: 250px; width: auto; background-color: var(--white); padding: 15px; border-radius: 8px; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.95rem; color: #ccc; text-transform: uppercase; font-family: var(--font-heading); font-weight: 600; letter-spacing: 1px; }
.footer-links a:hover { color: var(--primary-yellow); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--white); font-size: 1.5rem; transition: var(--transition); }
.footer-social a:hover { color: var(--primary-yellow); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding: 1.5rem; background: #0a101d; font-size: 0.9rem; color: #888; }
.footer-bottom a { color: var(--primary-yellow); }

/* Responsive */
@media (max-width: 1024px) {
    .build-card.highlighted { transform: none; }
    .build-card.highlighted:hover { transform: translateY(-5px); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .hero-title { font-size: 4rem; }
}

@media (max-width: 768px) {
    .logo-desktop { display: none; }
    .logo-mobile { display: block; max-height: 85px; }
    .nav-container { align-items: center; padding-bottom: 10px; }
    .hamburger { display: block; padding-bottom: 0; }
    .nav-menu { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); flex-direction: column; align-items: stretch; justify-content: flex-start; padding-top: 0; transition: 0.4s ease; box-shadow: 0 5px 10px rgba(0,0,0,0.1); margin: 0; border-top: 1px solid rgba(255,255,255,0.3); }
    .nav-menu.active { left: 0; }
    .nav-item { margin-bottom: 0; margin: 0; padding: 0; }
    .nav-link { font-size: 1.1rem; padding: 15px 20px; border-radius: 0; border-right: none; border-left: none; border-top: none; text-align: center; background-color: transparent; }
    .nav-link.active { margin-bottom: 0; padding-bottom: 15px; background-color: rgba(255,255,255,0.5); border-bottom: 1px solid rgba(0,0,0,0.1); }
    
    .hero-content { width: 95%; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .stats-container { flex-direction: column; gap: 1.5rem; }
    .hero-cta { flex-direction: column; width: 100%; max-width: 300px; }
    
    .gallery-grid, .home-gallery-grid { grid-template-columns: 1fr; }
    .packages-table th, .packages-table td { padding: 1rem; }
    
    .footer-container { flex-direction: column; text-align: center; justify-content: center; }
    .footer-links { justify-content: center; }

    .quote-container { flex-direction: column; text-align: center; gap: 1.5rem; }
    .quote-section blockquote { text-align: center; font-size: 1.2rem; }
}
