:root {
    --primary: #E30613;
    --primary-dark: #a7030d;
    --dark: #07111F;
    --dark-soft: #101c31;
    --light: #FFFFFF;
    --muted: #9fa8b8;
    --card: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.12);
    --shadow: 0 20px 60px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top left, rgba(227,6,19,0.16), transparent 25%), var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section { position: relative; padding: 100px 0; }
.container { position: relative; z-index: 2; }

.page-loader {
    position: fixed; inset: 0; background: var(--dark); z-index: 9999; display: grid; place-items: center; transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
    width: 70px; height: 70px; border: 3px solid rgba(255,255,255,0.15); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cursor-dot, .cursor-outline { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); }
.cursor-dot { width: 10px; height: 10px; background: var(--primary); }
.cursor-outline { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.35); transition: width .2s ease, height .2s ease, border-color .2s ease; }
body.cursor-hidden .cursor-dot, body.cursor-hidden .cursor-outline { display: none; }

.navbar {
    padding: 18px 0; transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
    background: rgba(7,17,31,0.78); backdrop-filter: blur(20px); box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.navbar-brand { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; padding: 4px 0; }
.navbar-brand:hover .brand-mark { transform: scale(1.04); box-shadow: 0 10px 24px rgba(0,0,0,0.22); }
.brand-mark {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)); box-shadow: inset 0 0 20px rgba(255,255,255,0.12); flex-shrink: 0; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.brand-logo { width: 100%; height: 100%; object-fit: contain; padding: 6px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { display: block; letter-spacing: .04em; }
.brand-text small { opacity: .72; margin-top: 2px; }
.navbar-nav .nav-link { color: rgba(255,255,255,0.92); font-weight: 500; margin: 0 10px; position: relative; }
.navbar-nav .nav-link::after { content:''; position:absolute; left:0; bottom:-4px; width:0; height:2px; background: var(--primary); transition: width .3s ease; }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { width: 100%; }
.navbar-nav .nav-link.active { color: var(--light); }
.btn-pill { border-radius: 999px; padding: 10px 18px; }
.btn-outline-light { border-color: rgba(255,255,255,0.2); }
.nav-call-btn { margin-left: 16px; }

.hero-section {
    min-height: 100vh; display: flex; align-items: center; padding-top: 120px; position: relative; overflow: hidden;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,31,0.95) 0%, rgba(7,17,31,0.7) 50%, rgba(7,17,31,0.9) 100%), url('https://images.unsplash.com/photo-1512918728675-ed5a9ecdebfd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; z-index: 0;
}
.hero-section::after { content:''; position:absolute; inset:auto -10% 10% auto; width:420px; height:420px; background: radial-gradient(circle, rgba(227,6,19,0.3), transparent 70%); filter: blur(60px); }
.hero-content h1 { font-size: clamp(2.2rem, 4vw, 4.4rem); font-weight: 800; line-height: 1.08; margin-bottom: 18px; }
.hero-content p { font-size: 1.05rem; color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.btn-primary, .btn-outline, .btn-dark {
    border-radius: 999px; padding: 12px 24px; font-weight: 600; transition: transform .3s ease, box-shadow .3s ease, background .3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--light); box-shadow: 0 12px 30px rgba(227,6,19,0.25); }
.btn-primary:hover, .btn-outline:hover, .btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(0,0,0,0.25); }
.btn-outline { color: var(--light); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.btn-dark { background: rgba(255,255,255,0.08); color: var(--light); }

.hero-features { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 14px; max-width: 680px; }
.feature-pill {
    padding: 14px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,0.06); backdrop-filter: blur(20px); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; box-shadow: var(--shadow); min-height: 110px;
}
.feature-pill i { font-size: 1.1rem; color: var(--primary); }
.feature-pill span { font-size: .85rem; color: var(--muted); }

.hero-camera-card {
    position: relative; background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)); border: 1px solid var(--border); backdrop-filter: blur(26px); border-radius: 30px; padding: 24px; box-shadow: var(--shadow); animation: float 4s ease-in-out infinite;
}
.hero-camera-card::before { content:''; position:absolute; inset: 14px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.08); }
.hero-camera-card img { border-radius: 22px; height: 420px; object-fit: cover; }
.hero-badge {
    position: absolute; top: 28px; left: 28px; padding: 10px 14px; background: rgba(7,17,31,0.7); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; font-weight: 600; font-size: .85rem; backdrop-filter: blur(14px);
}
.glow-ring { position:absolute; right:-30px; bottom:-30px; width:180px; height:180px; border-radius:50%; border: 1px solid rgba(227,6,19,0.35); animation: pulse 4s ease-in-out infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { transform:scale(.95); opacity:.55; } 50% { transform:scale(1.06); opacity:1; } }

.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-badge { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; }
.section-heading h2 { font-size: clamp(1.8rem, 2.7vw, 2.6rem); font-weight: 700; margin: 10px 0 14px; }
.section-heading p { color: var(--muted); font-size: 1rem; }

.counter-card, .glass-card, .package-card, .service-card, .review-card, .timeline-card, .faq-card, .contact-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(24px);
}

.counter-card { padding: 24px; text-align: center; }
.counter-card .number { font-size: 2.1rem; font-weight: 800; color: var(--light); }
.counter-card p { color: var(--muted); margin-top: 8px; }

.package-card { padding: 32px 28px; position: relative; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; height:100%; }
.package-card:hover { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0,0,0,0.35); border-color: rgba(227,6,19,0.4); }
.package-card.featured { border-color: rgba(227,6,19,0.45); transform: scale(1.02); }
.package-image { width: 100%; height: 180px; object-fit: cover; border-radius: 18px; margin-bottom: 18px; border: 1px solid rgba(255,255,255,0.12); }
.badge-popular { position:absolute; top:18px; right:18px; background: var(--primary); color:white; padding: 8px 12px; border-radius: 999px; font-size: .75rem; font-weight:700; }
.package-price { font-size: 2.2rem; font-weight: 800; color: var(--light); margin: 12px 0 22px; }
.package-list { padding: 0; list-style: none; color: var(--muted); }
.package-list li { margin-bottom: 10px; display:flex; gap: 10px; align-items:center; }
.package-list li i { color: var(--primary); }

.icon-card { padding: 24px; text-align: center; height:100%; }
.icon-card i { font-size: 1.7rem; color: var(--primary); margin-bottom: 16px; }
.icon-card h4 { margin-bottom: 10px; font-size: 1.05rem; }
.icon-card p { color: var(--muted); font-size: .95rem; }

.service-card { padding: 28px; height: 100%; transition: transform .3s ease; }
.service-card:hover { transform: translateY(-6px); }
.service-card i { width: 54px; height: 54px; display:grid; place-items:center; border-radius:16px; background: rgba(227,6,19,0.16); color: var(--primary); font-size: 1.3rem; margin-bottom: 18px; }
.service-card h4 { margin-bottom: 12px; }
.service-card p { color: var(--muted); }

.timeline { position: relative; padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.12); margin-left: 8px; }
.timeline-item { position: relative; margin-bottom: 28px; padding-left: 24px; }
.timeline-item::before { content:''; position:absolute; left:-30px; top:8px; width:14px; height:14px; border-radius:50%; background: var(--primary); box-shadow: 0 0 0 6px rgba(227,6,19,0.16); }
.timeline-card { padding: 20px 24px; }

.partner-logo { padding: 24px; text-align:center; border-radius: 20px; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: var(--light); font-weight: 600; }

.gallery-card { overflow:hidden; position:relative; border-radius:24px; border:1px solid var(--border); background:rgba(255,255,255,.05); }
.gallery-card img { width:100%; height:260px; object-fit:cover; transition:transform .45s ease; }
.gallery-card:hover img { transform:scale(1.08); }
.gallery-overlay { position:absolute; inset:0; background:linear-gradient(180deg, transparent, rgba(7,17,31,0.85)); display:flex; align-items:flex-end; padding:20px; }
.gallery-overlay h4 { margin:0; }
.gallery-filters { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:24px; }
.gallery-filters button { background: rgba(255,255,255,0.06); color: white; border:1px solid rgba(255,255,255,0.12); padding: 10px 16px; border-radius:999px; }
.gallery-filters button.active { background: var(--primary); border-color: var(--primary); }
.gallery-card.hidden { display:none; }

.review-card { padding: 24px; height:100%; }
.review-card .stars { color: #ffb703; margin-bottom: 10px; }
.review-card p { color: var(--muted); margin-bottom: 18px; }
.review-author { display:flex; align-items:center; gap:12px; }
.review-author img { width:50px; height:50px; border-radius:50%; object-fit:cover; }
.review-author strong { display:block; }
.review-author span { color: var(--muted); font-size: .85rem; }

.faq-item { border:1px solid var(--border); border-radius:18px; overflow:hidden; background: rgba(255,255,255,0.05); }
.faq-item .faq-question { width:100%; background:none; border:none; color:white; text-align:left; padding:20px 24px; display:flex; align-items:center; justify-content:space-between; font-weight:600; }
.faq-item .faq-answer { padding:0 24px 20px; color: var(--muted); display:none; }
.faq-item.active .faq-answer { display:block; }

.cta-banner { padding: 56px; border-radius: 28px; background: linear-gradient(135deg, rgba(227,6,19,0.25), rgba(255,255,255,0.06)); border:1px solid rgba(255,255,255,0.14); position:relative; overflow:hidden; }
.cta-banner::before { content:''; position:absolute; width:220px; height:220px; border-radius:50%; background: radial-gradient(circle, rgba(227,6,19,0.2), transparent 70%); right:-60px; top:-60px; }

.footer-section { padding: 80px 0 40px; background: rgba(3,8,16,0.95); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-section h4, .footer-section h5 { margin-bottom: 16px; }
.footer-section p, .footer-list { color: var(--muted); }
.footer-list { list-style:none; padding:0; }
.footer-list li { margin-bottom: 10px; }
.social-links a { display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; border-radius:50%; background: rgba(255,255,255,0.08); margin-right:8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; margin-top: 28px; color: var(--muted); }
.footer-bottom a { margin-right: 16px; color: var(--muted); }

.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; display:grid; place-items:center; border-radius:50%; background: var(--primary); color:white; z-index: 999; opacity:0; visibility:hidden; transform: translateY(20px); transition: .3s ease; }
.back-to-top.show { opacity:1; visibility:visible; transform: translateY(0); }

.page-hero {
    padding-top: 170px; padding-bottom: 90px; position:relative; min-height: 420px; overflow:hidden;
}
.page-hero::before { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(7,17,31,0.95), rgba(7,17,31,0.78)), url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; z-index:0; }
.page-hero .container { position:relative; z-index:2; }
.breadcrumb { background:none; padding:0; margin-bottom:18px; color: var(--muted); }
.breadcrumb a { color: var(--light); }

.contact-card { padding: 32px; }
.form-control, .form-select, textarea.form-control { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 12px 14px; }
.form-control::placeholder, textarea.form-control::placeholder { color: rgba(255,255,255,0.5); }
.form-control:focus, .form-select:focus, textarea.form-control:focus { background: rgba(255,255,255,0.08); color:white; box-shadow: none; border-color: var(--primary); }
.contact-details { padding: 24px; border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05)); border:1px solid rgba(255,255,255,0.14); box-shadow: 0 18px 46px rgba(0,0,0,0.22); }
.contact-details-head { display:flex; align-items:center; gap:12px; margin-bottom: 18px; }
.contact-icon-badge { width: 44px; height: 44px; border-radius: 14px; display:grid; place-items:center; background: rgba(227,6,19,0.14); color: var(--primary); font-size: 1rem; }
.contact-details h3 { margin: 4px 0 0; font-size: 1.2rem; }
.contact-details .detail-item { display:flex; gap:12px; margin-bottom: 16px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.contact-details .detail-item i { color: var(--primary); margin-top: 4px; }
.contact-details .detail-item a { color: inherit; }
.contact-action-stack { display:flex; flex-direction:column; gap:10px; }
.contact-action-stack .btn-primary, .contact-action-stack .btn-outline { justify-content:center; }
.map-embed { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); box-shadow: 0 18px 45px rgba(0,0,0,0.18); }
.map-frame { display:block; width:100%; min-height:280px; height:320px; border:0; }
.alert-success { background: rgba(0,200,100,0.12); color:#85f0b5; border: 1px solid rgba(0,200,100,0.2); border-radius: 16px; padding: 14px 16px; margin-bottom: 20px; }
.alert-danger { background: rgba(227,6,19,0.12); color:#ffd7d7; border: 1px solid rgba(227,6,19,0.2); border-radius: 16px; padding: 14px 16px; margin-bottom: 20px; }

.team-card { padding: 24px; text-align:center; height:100%; }
.team-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 20px; margin-bottom: 16px; }
.team-card h4 { margin-bottom: 8px; }
.team-card p { color: var(--muted); }

.cert-list { display:flex; flex-wrap:wrap; gap:12px; }
.cert-list span { padding: 10px 14px; border:1px solid rgba(255,255,255,0.12); border-radius: 999px; background: rgba(255,255,255,0.05); }

.stat-pill { display:inline-block; padding: 10px 14px; border-radius:999px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); margin-right:8px; margin-bottom:8px; }

@media (max-width: 991px) {
    .navbar-collapse { background: rgba(7,17,31,0.92); padding: 20px; border-radius: 20px; margin-top: 12px; }
    .nav-call-btn { margin: 14px 0 0; width: fit-content; }
    .brand-mark { width: 46px; height: 46px; }
    .hero-features { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
}
@media (max-width: 767px) {
    section { padding: 70px 0; }
    .hero-section { padding-top: 120px; }
    .hero-features { grid-template-columns: 1fr; }
    .hero-camera-card { margin-top: 30px; }
    .cta-banner { padding: 36px 24px; }
    .page-hero { padding-top: 150px; padding-bottom: 60px; }
    .brand-mark { width: 40px; height: 40px; }
    .navbar-brand { gap: 10px; font-size: 1rem; }
    .brand-text small { font-size: .75rem; }
    .contact-details { padding: 20px; }
    .contact-details .detail-item { padding: 10px 12px; }
    .map-frame { height: 260px; min-height: 260px; }
}
