/* ==========================================================================
   assets/css/style.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Light Theme (Default) */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent: #0f172a;
    --accent-glow: rgba(15, 23, 42, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --accent: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(17, 17, 17, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Glassmorphism Core --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.03em;

    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Interactive Elements --- */
.btn-premium {
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

/* --- Navbar --- */
.navbar-glass {
    position: fixed;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.navbar-glass .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-glass .nav-links a:hover {
    color: var(--text-primary);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
}

.hero-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: #667eea; }

.blob-2 { bottom: -20%; right: -10%; width: 600px; height: 600px; background: #764ba2; animation-delay: -5s; }

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Keyframes --- */
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* --- Cursor Glow --- */
#cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

[data-theme="light"] #cursor-glow { display: none; }
/* -----------header.html  ----------------*/
.top-header{
    background:#111;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 60px;
}

.top-left{
    display:flex;
    gap:40px;
    align-items:center;
}

.top-right{
    display:flex;
    gap:20px;
    align-items:center;
}

.top-right a{
    color:white;
    font-size:18px;
    transition:.3s;
}

.top-right a:hover{
    color:#ff6600;
}

@media(max-width:768px){

.top-header{
    flex-direction:column;
    gap:10px;
    padding:15px;
}


.top-left{
    flex-direction:column;
    gap:10px;
    text-align:center;
}

}

/* ==========================================================================
   FOOTER COMPONENT STYLES
   ========================================================================== */

:root {
    --footer-navy: #081C2D;
    --footer-navy-dark: #040e17;
    --orange-accent: #FF6B00;
    --glass-footer-bg: rgba(255, 255, 255, 0.03);
    --glass-footer-border: rgba(255, 255, 255, 0.08);
    --footer-text-muted: rgba(255, 255, 255, 0.7);
}

.premium-footer {
    position: relative;
    background: linear-gradient(135deg, var(--footer-navy), var(--footer-navy-dark));
    color: #ffffff;
    padding: 100px 5% 40px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    margin-top: auto;
}

/* --- Animated Background Blobs & Particles --- */
.footer-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.15;
    animation: floatBlob 15s infinite alternate ease-in-out;
}

.blob-blue {
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: #0088ff;
}

.blob-orange {
    bottom: -10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: var(--orange-accent);
    animation-delay: -5s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

/* --- Gradient Border Top --- */
.footer-top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange-accent), #0088ff, transparent);

    z-index: 1;
}

/* --- Grid Layout --- */
.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Glass Panels --- */
.glass-panel {
    background: var(--glass-footer-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-footer-border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.footer-heading {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--orange-accent);
    border-radius: 2px;
    
}

/* --- Col 1: Company --- */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.orange-text { color: var(--orange-accent); }

.company-desc {
    color: var(--footer-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Social Icons */
.social-links { display: flex; gap: 15px; flex-wrap: wrap; }

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);

    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--orange-accent);
    color: #fff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
    border-color: var(--orange-accent);
}

/* Tooltips */
.social-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    color: var(--footer-navy);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.social-icon:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- Col 2: Services --- */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-list a {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-list .arrow {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-list a:hover {
    color: #fff;

}

.service-list a:hover .arrow {
    color: var(--orange-accent);
    transform: translateX(6px);
}

/* --- Col 3: Contact --- */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    color: var(--orange-accent);
    margin-top: 2px;
}

.contact-text {
    color: var(--footer-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Buttons */
.footer-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-footer {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.map-btn {
    background: var(--orange-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.map-btn:hover {
    background: #e66000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.dir-btn {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-footer-border);
}

.dir-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* --- Bottom Footer --- */
.footer-bottom {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--glass-footer-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}


.copyright {
    color: var(--footer-text-muted);
    font-size: 0.9rem;
}

.policy-links {
    display: flex;
    gap: 25px;
}

.policy-links a {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

.policy-links a:hover {
    color: #fff;
}

/* Underline Animation */
.policy-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange-accent);
    transition: width 0.3s ease;
}

.policy-links a:hover::after {
    width: 100%;
}

/* --- Floating Buttons --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--glass-footer-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.float-wa { background: rgba(37, 211, 102, 0.2); border-color: rgba(37, 211, 102, 0.5); }
.float-wa:hover { background: #25D366; transform: scale(1.15); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); }


.float-call { background: rgba(0, 136, 255, 0.2); border-color: rgba(0, 136, 255, 0.5); }
.float-call:hover { background: #0088ff; transform: scale(1.15); box-shadow: 0 10px 25px rgba(0, 136, 255, 0.4); }

.float-top { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); opacity: 0; visibility: hidden; transform: translateY(20px); }
.float-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: var(--orange-accent); border-color: var(--orange-accent); transform: scale(1.15); }

/* --- Reveal Animation --- */
.reveal-footer {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-footer.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .premium-footer { padding: 80px 5% 30px; }
    .footer-container { gap: 30px; }
}

@media (max-width: 768px) {
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    .policy-links { justify-content: center; flex-wrap: wrap; gap: 15px; }
    .glass-panel { padding: 30px; }
    .floating-actions { bottom: 20px; right: 20px; }
    .float-btn { width: 50px; height: 50px; }
}

/* ==========================================================================
   PREMIUM CONTACT PAGE STYLES
   ========================================================================== */

.contact-page-wrapper {
    max-width: 1400px;
    margin: 140px auto 100px;
    padding: 0 5%;

}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.display-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.panel-heading {
    font-size: 2rem;
    margin-bottom: 10px;
}

.panel-subtitle {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

/* --- Left Panel: Contact Info --- */
.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-glow);
    color: var(--orange-accent, #FF6B00);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team Directory */
.team-directory {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.team-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.team-list li {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.team-list li strong { color: var(--text-primary); }
.team-list li span { color: var(--text-secondary); font-size: 0.8rem; margin-bottom: 3px; }
.team-list li a { color: var(--orange-accent, #FF6B00); text-decoration: none; font-weight: 500; transition: var(--transition); }

.team-list li a:hover { opacity: 0.8; }

.contact-socials { margin-top: 40px; }

/* --- Right Panel: Form Styling --- */
.contact-form-wrapper {
    background: linear-gradient(145deg, var(--glass-bg), rgba(255,255,255,0.02));
    position: relative;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s ease;
}

.textarea-icon { top: 25px; transform: none; }

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 20px 16px 50px;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control:focus {
    outline: none;
    border-color: var(--orange-accent, #FF6B00);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.form-control:focus ~ .input-icon { color: var(--orange-accent, #FF6B00); }

/* Floating Labels */
.floating-label {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);

    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 5px;
}

.textarea-group .floating-label { top: 20px; transform: none; }

/* The Magic: When focused OR when it has text (not showing placeholder) */
.form-control:focus ~ .floating-label,
.form-control:not(:placeholder-shown) ~ .floating-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    transform-origin: left;
    color: var(--orange-accent, #FF6B00);
    background: var(--bg-primary); /* Hides the border line behind the text */
    border-radius: 4px;
}

/* Static Labels for Date/Time/Select */
.static-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
}
.date-label { position: absolute; top: -10px; left: 15px; background: var(--bg-primary); padding: 0 5px; z-index: 2; color: var(--orange-accent, #FF6B00); }

/* Custom Radios */
.radio-group-wrapper { margin-bottom: 30px; }
.radio-group { display: flex; gap: 15px; flex-wrap: wrap; }
.custom-radio { position: relative; cursor: pointer; flex: 1; min-width: 120px; }
.custom-radio input { position: absolute; opacity: 0; cursor: pointer; }
.radio-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02);
}
.custom-radio input:checked ~ .radio-btn {
    border-color: var(--orange-accent, #FF6B00);
    color: var(--orange-accent, #FF6B00);
    background: rgba(255, 107, 0, 0.05);
}

/* Custom Checkbox */
.checkbox-group { margin: 20px 0 30px; }

.custom-checkbox { display: flex; align-items: center; cursor: pointer; position: relative; user-select: none; }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
    height: 22px; width: 22px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 6px;
    display: flex; align-items: center; justify-content: center; margin-right: 12px; transition: var(--transition);
}
.custom-checkbox input:checked ~ .checkmark { background: var(--orange-accent, #FF6B00); border-color: var(--orange-accent, #FF6B00); }
.custom-checkbox input:checked ~ .checkmark::after { content: '\f00c'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: white; font-size: 12px; }
.check-text { font-size: 0.9rem; color: var(--text-secondary); }

/* Submit Button & Ripple */
.btn-submit { width: 100%; padding: 18px; font-size: 1.1rem; border-radius: 16px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--orange-accent, #FF6B00), #e66000); display: flex; justify-content: center; align-items: center; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); animation: ripple 0.6s linear; background: rgba(255, 255, 255, 0.4); }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Loader */
.loader { border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top: 3px solid #fff; width: 24px; height: 24px; animation: spin 1s linear infinite; }

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Alert Box */
.premium-alert { padding: 15px 20px; border-radius: 12px; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; font-weight: 500; animation: fadeUp 0.4s ease; }
.premium-alert.success { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; }
.premium-alert.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive Constraints */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 768px) {
    .team-list { grid-template-columns: 1fr; }
    .radio-group { flex-direction: column; }
}
/* ==========================================================================
   PREMIUM NAVBAR DROPDOWNS (Matched to Images)
   ========================================================================== */

.nav-dropdown {
    position: relative;
    display: inline-block;
    padding: 10px 0; /* Creates a safe hover zone */
}

/* The small arrow next to the main link */
.nav-arrow {
    font-size: 0.75rem;
    margin-left: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover state for the main link and arrow (Matches Image 2) */
.nav-dropdown:hover > a {
    color: var(--orange-accent, #FF6B00) !important;
}

.nav-dropdown:hover .nav-arrow {
    transform: rotate(180deg); /* Points up */
    color: var(--orange-accent, #FF6B00);
}

/* The Dropdown Box Container */
.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px; /* Wide enough for long titles */
    
    /* Matches the frosted light-gray look from Image 1 */
    background: rgba(245, 247, 250, 0.95); 

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

/* Dark mode adaptation for the dropdown box */
[data-theme="dark"] .nav-dropdown-content {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Show dropdown on hover */
.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Links (Matches Image 1 Text) */
.nav-dropdown-content a {
    display: block;
    padding: 12px 25px;
    color: #4a5568 !important; /* Dark slate gray */
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    margin: 0 !important;
}

[data-theme="dark"] .nav-dropdown-content a {
    color: #e2e8f0 !important;
}

/* The Orange Line Hover Effect (Matches Image 1 "Estate Planning") */
.nav-dropdown-content a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0; /* Invisible by default */
    background-color: var(--orange-accent, #FF6B00);
    transition: height 0.2s ease;
}

.nav-dropdown-content a:hover {
    color: var(--text-primary) !important;
    background: transparent;
}

/* Expands the orange line on hover */
.nav-dropdown-content a:hover::before {
    height: 60%; 
}

/* Responsive Mobile Handling */
@media (max-width: 992px) {
    .nav-dropdown-content {
        position: static;

        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 10px 0 10px 20px;
    }
    
    .nav-dropdown:hover .nav-dropdown-content {
        display: block;
    }
}

/* ==========================================================================
   SMOOTH SCROLLING & ANCHOR OFFSETS
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

/* This pushes the scroll target down by 120px so it sits perfectly below your fixed navbar */
section[id] {
    scroll-margin-top: 120px; 
}
/* ==========================================================================
   DYNAMIC GRID LAYOUTS (Fixes massive vertical images)
   ========================================================================== */

/* Universal Grid Container: Centers content and adds perfect side margins */
.content-grid, 
.image-grid, 
.video-grid, 
.testimonial-grid,
.masonry-gallery {
    display: grid;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto 60px auto; /* Centers the grid perfectly */
    padding: 0 5%;
}

/* 1. Blog & Presentation Cards (3 items per row) */
.content-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}


/* 2. Gallery & Training Photos (4 to 5 items per row) */
.image-grid, .masonry-gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* 3. YouTube Video Cards (3 items per row, slightly wider) */
.video-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

/* --- Strict Image Sizing Rules --- */
/* This prevents images from stretching out of control */
.card-img-wrapper img, 
.image-grid-item img, 
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Force specific heights so rows stay perfectly aligned */
.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.image-grid-item {
    aspect-ratio: 1; /* Forces perfect squares for photos */
    overflow: hidden;
    border-radius: 12px;
    cursor: zoom-in;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.video-thumbnail {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: #000;
}

/* Video Play Button Styling */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.5rem;
    opacity: 0.85;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);

}

.video-card:hover .play-btn {
    opacity: 1;
    color: var(--orange-accent, #FF6B00);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   DYNAMIC COMPONENT STYLES (Cards, Grids, Pagination)
   ========================================================================== */

/* Universal Grid System - Centers items and forces columns */
.content-grid, .image-grid, .video-grid, .masonry-gallery {
    display: grid;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto; /* Centers the grid */
}

/* Card Grids (Blogs, Events) - 3 columns */
.content-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* Photo Grids (Gallery) - 4 columns */
.image-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* Premium Card Styling */
.content-card {
    background: var(--glass-bg, #ffffff);
    border: 1px solid var(--glass-border, #e5e7eb);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Force Images to be exactly the same size */
.card-img-wrapper {
    width: 100%;
    height: 220px; /* Locks the height so cards are uniform */
    overflow: hidden;
}

.card-img-wrapper img, .image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents stretching and distortion */
    transition: transform 0.5s ease;
}

.content-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.image-grid-item {
    aspect-ratio: 1; /* Forces perfect squares for gallery photos */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Card Typography & Layout */
.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {

    font-size: 1.25rem;
    color: var(--text-primary, #111827);
    margin-bottom: 10px;
    font-weight: 700;
}

.card-excerpt {
    color: var(--text-secondary, #4b5563);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Styled Read More Button */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-accent, #FF6B00);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: auto;
}

.read-more i { transition: transform 0.3s ease; }
.read-more:hover i { transform: translateX(5px); }

/* Premium Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

.page-item:hover {
    border-color: var(--orange-accent, #FF6B00);
    color: var(--orange-accent, #FF6B00);
}

.page-item.active {
    background: var(--orange-accent, #FF6B00);
    color: white;
    border-color: var(--orange-accent, #FF6B00);
}

.page-item.dots { border: none; background: transparent; cursor: default; }

/* ======================================================================
   RESPONSIVE LAYER — preserves the existing desktop visual design
   ====================================================================== */
img, video, iframe, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { max-width: 100%; }
html { -webkit-text-size-adjust: 100%; }
body { min-width: 320px; }

@media (max-width: 992px) {
  .navbar-glass {
    top: 12px;
    width: calc(100% - 28px);
    max-width: none;
    padding: 12px 16px;
    transform: translateX(-50%);
    flex-wrap: wrap;
    gap: 10px;
  }
  .navbar-glass .logo { max-width: calc(100% - 54px); }
  .navbar-glass .logo a { font-size: 1rem !important; }
  .navbar-glass .nav-links {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--glass-border);
  }
  .navbar-glass.is-open .nav-links { display: flex; }
  .navbar-glass .nav-links > a,
  .navbar-glass .nav-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 8px;
  }
  .navbar-glass .nav-dropdown { display: block; width: 100%; padding: 0; }
  .navbar-glass .nav-dropdown-content {
    position: static;
    display: none;
    width: 100%;
    max-height: 45vh;
    overflow-y: auto;
    padding: 4px 8px 8px 18px;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .navbar-glass .nav-dropdown.open .nav-dropdown-content { display: block; }
  .navbar-glass .nav-dropdown-content a { display: block; padding: 9px 10px; }
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1.15rem;
    cursor: pointer;
  }
}
@media (min-width: 993px) { .mobile-nav-toggle { display: none; } }

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 145px 18px 60px; }
  .hero h1, .hero-title { font-size: clamp(2rem, 8vw, 3rem) !important; line-height: 1.15; }
  .display-title { font-size: clamp(2rem, 8vw, 3rem); }
  .contact-page-wrapper { margin: 110px auto 55px; padding-inline: 18px; }
  .contact-header { margin-bottom: 32px; }
  .contact-grid { gap: 22px; }
  .top-bar-container { padding: 12px 16px; gap: 10px; }
  .top-bar-left, .top-bar-right { gap: 10px 14px; }
  .top-bar-left span { overflow-wrap: anywhere; }
  .top-header { padding: 14px 18px; }
  .premium-footer { padding: 60px 18px 28px; }
  .footer-container { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .glass-panel { padding: 22px; }
  .footer-heading { margin-bottom: 20px; }
  .banner-slider-container { max-width: 100%; }
  .team-list, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .blue-section { padding: 48px 18px; }
  .floating-actions { right: 14px; bottom: 14px; }
  .float-btn { width: 46px; height: 46px; }
  .year-badge { flex-wrap: wrap; }
  .home-card, .wcu-card, .award-banner, .contact-form-wrapper { max-width: 100%; }
  .nav-dropdown-content { min-width: 0; }
}
@media (max-width: 480px) {
  .hero { padding-inline: 14px; }
  .hero-actions { width: 100%; }
  .hero-actions a, .hero-actions button { width: 100%; justify-content: center; }
  .glass-panel, .home-card-body { padding: 18px; }
  .contact-page-wrapper { padding-inline: 14px; }
  .contact-header .subtitle { font-size: .98rem; }
  .premium-footer { padding-inline: 14px; }
  .top-bar-left { align-items: flex-start; flex-direction: column; }
  .policy-links { gap: 10px; }
  .hero-trophies { justify-content: center; }
  .hero-trophy { max-width: 28%; }
}
@media (max-width: 992px) {
  .mobile-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
  }
  .mobile-submenu-toggle:focus-visible { outline: 2px solid var(--accent); }
}
@media (min-width: 993px) { .mobile-submenu-toggle { display: none; } }
@media (max-width: 992px) {
  .navbar-glass .nav-dropdown { position: relative; }
  .navbar-glass .nav-dropdown > a { padding-right: 48px; }
  .navbar-glass .nav-dropdown > .mobile-submenu-toggle {
    position: absolute;
    top: 4px;
    right: 2px;
    z-index: 2;
  }
  .navbar-glass .nav-dropdown.open > .mobile-submenu-toggle i { transform: rotate(180deg); }
  .mobile-submenu-toggle i { transition: transform .2s ease; }
}

/* ==========================================
   MOBILE FIX - PREVENT BLANK REVEAL SECTIONS
   ========================================== */

@media screen and (max-width: 768px) {
    .reveal,
    .reveal-footer {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}