@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Great+Vibes&display=swap');

:root {
    --primary: #0a192f;
    --primary-light: #112240;
    --primary-dark: #020c1b;
    --secondary: #d4af37;
    --secondary-light: #f3e5ab;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --white: #ffffff;
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7);
    --dark-gradient: linear-gradient(135deg, #0a192f, #112240);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 20px 40px rgba(0,0,0,0.08);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 700;
}

a { text-decoration: none; transition: var(--transition); }

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.bg-dark-custom { background: var(--dark-gradient); color: var(--white); }
.bg-light-custom { background-color: var(--bg-light); }
.section-padding { padding: 120px 0; }

/* Buttons */
.btn-gold {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: none;
    border-radius: 4px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 175, 55, 0.5);
    color: var(--primary-dark);
}

.btn-outline-gold {
    background: transparent;
    color: var(--secondary);
    padding: 14px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: 2px solid var(--secondary);
    border-radius: 4px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--primary-dark);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: #a8b2c1;
    font-size: 0.85rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
.navbar-brand { font-size: 2rem; font-weight: 800; color: var(--primary) !important; letter-spacing: -0.5px;}
.nav-link {
    font-weight: 600; color: var(--primary) !important; text-transform: uppercase;
    font-size: 0.85rem; letter-spacing: 1px; margin: 0 15px; position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--gold-gradient); transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hero Slider */
.hero-slider { height: 90vh; min-height: 700px; position: relative; background-color: var(--primary); }
.carousel-item { height: 90vh; min-height: 700px; position: relative; }
.carousel-item::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(90deg, rgba(10,25,47,0.95) 0%, rgba(10,25,47,0.7) 50%, rgba(10,25,47,0.3) 100%);
    z-index: 1;
}
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption {
    position: absolute; top: 50%; transform: translateY(-50%); left: 10%; right: 10%;
    text-align: left; z-index: 2; padding: 0; bottom: auto;
}
.carousel-caption h1 { color: var(--white); font-size: 5rem; font-weight: 800; line-height: 1.1; margin-bottom: 30px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.carousel-caption p { color: #e2e8f0; font-size: 1.25rem; font-weight: 300; max-width: 600px; margin-bottom: 40px; }
.carousel-indicators { z-index: 3; bottom: 30px; }
.carousel-indicators [data-bs-target] { width: 40px; height: 4px; background-color: var(--secondary); border: none; opacity: 0.5; }
.carousel-indicators .active { opacity: 1; }

/* Stats Ribbon */
.stats-ribbon { margin-top: -60px; position: relative; z-index: 10; }
.stat-box {
    background: var(--white); padding: 40px 30px; text-align: center;
    box-shadow: var(--shadow); border-radius: 8px; border-bottom: 4px solid var(--secondary);
}
.stat-box h2 { font-size: 3rem; margin-bottom: 10px; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-box span { font-size: 0.9rem; text-transform: uppercase; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; }

/* About Detailed */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.about-img-1 { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.about-img-2 { width: 70%; border-radius: 8px; position: absolute; bottom: -40px; right: -20px; border: 10px solid var(--white); box-shadow: var(--shadow); }
.signature { font-family: 'Great Vibes', cursive; font-size: 2.5rem; color: var(--secondary); margin-top: 20px; }
.check-list li { margin-bottom: 15px; font-weight: 500; display: flex; align-items: center; }
.check-list i { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.2rem; margin-right: 15px; }

/* Custom Tabs (Services) */
.service-nav .nav-link {
    text-align: left; padding: 20px 30px; background: var(--white); color: var(--text-dark) !important;
    border-radius: 8px; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); font-weight: 600; font-size: 1.1rem;
    display: flex; align-items: center; border: 1px solid transparent;
}
.service-nav .nav-link i { font-size: 1.5rem; margin-right: 15px; color: var(--secondary); }
.service-nav .nav-link.active {
    background: var(--dark-gradient); color: var(--white) !important; border-color: var(--primary);
}
.service-nav .nav-link.active i { color: var(--secondary-light); }
.service-content-box { background: var(--white); padding: 50px; border-radius: 12px; box-shadow: var(--shadow); }

/* Progress Bars */
.progress-wrap { margin-bottom: 25px; }
.progress-wrap .title { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 600; color: var(--white); }
.progress { height: 8px; background-color: rgba(255,255,255,0.1); border-radius: 4px; overflow: visible; }
.progress-bar { background: var(--gold-gradient); position: relative; border-radius: 4px; }
.progress-bar::after {
    content: ''; position: absolute; top: -4px; right: 0; width: 16px; height: 16px;
    background: var(--white); border-radius: 50%; box-shadow: 0 0 10px rgba(212,175,55,0.8);
}

/* Team */
.team-card { position: relative; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.team-card img { width: 100%; transition: var(--transition); }
.team-info {
    position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(255,255,255,0.95);
    padding: 25px; transform: translateY(100%); transition: var(--transition); text-align: center;
}
.team-card:hover img { transform: scale(1.1); }
.team-card:hover .team-info { transform: translateY(0); }
.social-icons a { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: var(--white); border-radius: 50%; margin: 0 5px; }

/* Testimonials */
.testimonial-card { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow); border-top: 4px solid var(--secondary); margin: 20px; }
.stars i { color: var(--secondary); margin-bottom: 20px; }
.client-info { display: flex; align-items: center; margin-top: 30px; }
.client-info img { width: 60px; height: 60px; border-radius: 50%; margin-right: 15px; }
.client-info h5 { margin: 0; font-size: 1.1rem; }
.client-info span { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; }

/* Accordion FAQ */
.accordion-item { border: none; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border-radius: 8px !important; overflow: hidden; }
.accordion-button { font-weight: 600; padding: 20px 25px; color: var(--primary); background: var(--white); }
.accordion-button:not(.collapsed) { background: var(--dark-gradient); color: var(--white); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-button::after { filter: invert(0); }
.accordion-button:not(.collapsed)::after { filter: invert(1); }

/* Footer */
footer { background: var(--primary-dark); color: #8892b0; padding: 100px 0 0; position: relative; }
footer::before { content: ''; position: absolute; top:0; left:0; width:100%; height:4px; background: var(--gold-gradient); }
.footer-title { color: var(--white); font-size: 1.5rem; margin-bottom: 30px; }
.footer-links li { margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.footer-links a { color: #8892b0; display: block; }
.footer-links a:hover { color: var(--secondary); padding-left: 8px; }
.newsletter-form input { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 15px; }
.newsletter-form button { padding: 15px 30px; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .carousel-caption h1 { font-size: 3rem; }
    .about-img-2 { position: relative; right: 0; bottom: 0; width: 100%; margin-top: 20px; }
    .stats-ribbon { margin-top: 40px; }
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.float-btn.whatsapp {
    background-color: #25d366;
}

.float-btn.phone {
    background-color: var(--secondary);
}
/* Footer Text Visibility Fix */
footer {
    color: #f8f9fa !important;
}
footer .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}
footer .footer-title {
    color: var(--secondary) !important;
    margin-bottom: 1.5rem;
}
footer .footer-links a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}
footer .footer-links a:hover {
    color: var(--secondary) !important;
}