@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-color: #064e3b; /* Deep Emerald */
    --primary-light: #065f46;
    --accent-color: #d4af37; /* Premium Gold */
    --accent-hover: #c5a021;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 10px 15px -3px rgba(212, 175, 55, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    color: var(--accent-color);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-color);
}

header.scrolled .nav-links a {
    color: var(--text-dark);
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.1);
}

/* Islamic Patterns */
.bg-pattern {
    background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0 L60 40 L100 50 L60 60 L50 100 L40 60 L0 50 L40 40 Z" fill="%23064e3b" fill-opacity="0.02"/></svg>');
    background-size: 100px 100px;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive & Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

@media (max-width: 991px) {
    .section {
        padding: 50px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-cta .btn {
        display: none; /* Hide trial button on very small screens or move it into menu */
    }

    h1 {
        font-size: 2.2rem !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }
}

/* Premium Matrimonial Utilities */
.bg-navy-900 {
    background-color: #0a192f;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37, #f1d592);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-gold-glow {
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.border-gold-glow:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--accent-color) 0, var(--accent-color) 10px, transparent 10px, transparent 20px);
    z-index: -1;
}

@media (max-width: 768px) {
    .step-card::before {
        display: none;
    }
}

/* Counter Animation Helper */
.counter-value {
    display: inline-block;
}

/* Touch targets for mobile */
@media (max-width: 480px) {
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
}
/* PRIVACY SECTION TEXT FIX */

.bg-navy-900 {

    background-color: #0a192f !important;
}

.bg-navy-900,
.bg-navy-900 h1,
.bg-navy-900 h2,
.bg-navy-900 h3,
.bg-navy-900 h4,
.bg-navy-900 h5,
.bg-navy-900 h6,
.bg-navy-900 p,
.bg-navy-900 li,
.bg-navy-900 span {

    color: #ffffff !important;

    opacity: 1 !important;
}
/* HEADING TEXT CUT FIX */

h1,
h2,
.hero-title,
.text-gold-gradient {

    line-height: 1.25 !important;

    padding-bottom: 12px;

    overflow: visible !important;

    display: inline-block;
}
/* FINAL MOBILE FOOTER FIX */

@media (max-width: 768px) {

    footer .container,
    .footer .container,
    .footer-content {

        display: flex !important;

        flex-direction: column !important;

        align-items: center !important;

        justify-content: center !important;

        text-align: center !important;

        gap: 40px;
    }

    .footer-section {

        width: 100% !important;

        text-align: center !important;
    }

    .footer-section ul {

        padding: 0 !important;

        margin: 0 auto !important;
    }

    .footer-section ul li {

        text-align: center !important;

        justify-content: center !important;

        margin-bottom: 12px;
    }

    .contact-info li {

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        gap: 10px;
    }

    .social-links,
    .footer-social {

        display: flex !important;

        justify-content: center !important;

        align-items: center !important;

        gap: 15px;
    }

    footer p,
    footer a,
    footer h2,
    footer h3,
    footer h4 {

        text-align: center !important;
    }
}
/* FINAL CONTACT + SOCIAL ALIGN FIX */

@media (max-width: 768px) {

    .social-links,
    .footer-social {

        display: flex !important;

        justify-content: center !important;

        align-items: center !important;

        width: 100% !important;
    }

    .contact-info {

        width: 100% !important;
    }

    .contact-info li {

        display: flex !important;

        justify-content: center !important;

        align-items: center !important;

        text-align: center !important;

        width: 100% !important;

        gap: 10px;

        margin-bottom: 15px;
    }

    .contact-info li i {

        margin: 0 !important;
    }
}
/* ULTIMATE MOBILE FOOTER ALIGNMENT FIX */

@media (max-width: 768px) {

    .contact-info,
    .contact-info ul,
    .social-links {

        width: 100% !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: center !important;

        justify-content: center !important;

        text-align: center !important;
    }

    .contact-info li {

        width: 100% !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        text-align: center !important;

        padding-left: 0 !important;

        margin-left: 0 !important;
    }

    .social-links {

        flex-direction: row !important;
    }

    .social-links a {

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;
    }
}