/* ==========================================================================
   Life Mate Discovery (LMD) - Master Style Sheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #065e49;
    --primary-light: #0d8367;
    --primary-dark: #033c2e;
    --accent: #ca9735;
    --accent-light: #dfb256;
    --accent-dark: #a2741d;
    --secondary: #84182b; /* Rose Crimson */
    --secondary-light: #a4283c;
    --secondary-dark: #5e0d1b;
    --bg-light: #FAF9FB;
    --bg-dark: #121816;
    --white: #ffffff;
    --text-dark: #1d2522;
    --text-muted: #5e6b66;
    
    /* Fonts */
    --font-heading: 'Outfit', 'Noto Serif Bengali', sans-serif;
    --font-body: 'Noto Serif Bengali', 'Outfit', sans-serif;
    
    /* Layout & Styling */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 30px rgba(6, 94, 73, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-dark);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Layout Utilities */
.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Common Header/Header Sticky */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(6, 94, 73, 0.08);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: var(--transition);
}

.site-header.scrolled .header-container {
    height: 75px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 55px;
    width: auto;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.site-header.scrolled .logo-img {
    height: 48px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Navigation Drawer / Menus */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(6, 94, 73, 0.04);
}

.nav-link.active {
    color: var(--white);
    background-color: var(--primary);
    box-shadow: 0 4px 10px rgba(6, 94, 73, 0.2);
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Banner / Hero CSS */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(6, 94, 73, 0.03) 0%, rgba(202, 151, 53, 0.03) 100%);
    padding: 100px 0 80px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-tagline {
    font-size: 14px;
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(202, 151, 53, 0.1);
    border-radius: 30px;
}

.hero-h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(6, 94, 73, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 94, 73, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(6, 94, 73, 0.05);
    transform: translateY(-2px);
}

.hero-img-box {
    position: relative;
    animation: scaleIn 0.8s ease;
}

.hero-img-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
    padding: 8px;
}

.hero-img-wrapper img {
    border-radius: calc(var(--radius-lg) - 8px);
    width: 100%;
}

.hero-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 151, 53, 0.15) 0%, rgba(202, 151, 53, 0) 70%);
    top: -50px;
    right: -50px;
    z-index: 1;
}

/* Shariah / Scripture Block */
.shariah-block {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border-top: 4px solid var(--accent);
}

.shariah-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
}

.shariah-grid::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(6, 94, 73, 0.1);
}

.scripture-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.arabic-text {
    font-family: 'Times New Roman', serif;
    font-size: 26px;
    text-align: right;
    direction: rtl;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.bengali-text {
    font-size: 15px;
    color: var(--text-dark);
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}

.scripture-source {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 12px;
    text-align: right;
}

/* Grid & Cards Utilities */
.section-title-wrapper {
    margin-bottom: 48px;
}

.section-tagline {
    font-size: 14px;
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 32px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    transform: translateX(-50%);
    border-radius: 3px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(6, 94, 73, 0.03);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(6, 94, 73, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
    background-color: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Warnings and Notices */
.alert-box {
    background-color: rgba(132, 24, 43, 0.04);
    border: 1px solid rgba(132, 24, 43, 0.15);
    border-left: 5px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.alert-icon {
    font-size: 24px;
    color: var(--secondary);
}

.alert-content h4 {
    color: var(--secondary-dark);
    margin-bottom: 8px;
    font-size: 18px;
}

.alert-content p {
    font-size: 14px;
    color: var(--text-dark);
}

/* Borka Combo Package Card */
.combo-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px;
    margin-top: 80px;
}

.combo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.combo-img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.combo-list {
    margin: 24px 0;
    list-style: none;
}

.combo-item {
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.combo-item::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Multistep Forms & Fields styling */
.form-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    border-top: 5px solid var(--primary);
}

.progress-container {
    margin-bottom: 40px;
}

.progress-bar-bg {
    height: 8px;
    background-color: rgba(6, 94, 73, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-bar-fill {
    height: 100%;
    width: 25%;
    background-color: var(--primary);
    border-radius: 4px;
    transition: var(--transition);
}

.step-indicator-text {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

.form-step-title {
    font-size: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(6, 94, 73, 0.08);
    padding-bottom: 10px;
}

.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.form-label span.required {
    color: var(--secondary);
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(6, 94, 73, 0.2);
    font-family: var(--font-body);
    font-size: 14px;
    background-color: #fcfcfd;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(6, 94, 73, 0.1);
}

textarea.form-control {
    height: 100px;
    resize: vertical;
}

/* Form Selection Portal */
.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.portal-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px 32px;
    text-align: center;
    border-top: 6px solid var(--accent);
    transition: var(--transition);
}

.portal-card.portal-woman {
    border-top-color: var(--secondary);
}

.portal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portal-icon {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--accent);
}

.portal-card.portal-woman .portal-icon {
    color: var(--secondary);
}

/* Custom Styled File Input */
.custom-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border: 2px dashed rgba(6, 94, 73, 0.2);
    border-radius: var(--radius-md);
    background-color: #fafbfa;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.custom-file-upload:hover {
    border-color: var(--primary);
    background-color: rgba(6, 94, 73, 0.02);
}

.custom-file-upload input[type="file"] {
    display: none;
}

.upload-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.file-preview {
    margin-top: 12px;
    font-size: 13px;
    color: var(--primary-light);
    font-weight: 500;
}

/* Form buttons positioning */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    border-top: 1px solid rgba(6, 94, 73, 0.08);
    padding-top: 20px;
}

/* Custom checkbox grid */
.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.check-label-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #f9fbf9;
    border: 1px solid rgba(6, 94, 73, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.check-label-btn input {
    margin-right: 12px;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.check-label-btn:hover {
    background-color: rgba(6, 94, 73, 0.03);
    border-color: var(--primary);
}

/* Custom Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.success-modal-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--primary);
    animation: scaleIn 0.4s ease;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(6, 94, 73, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 40px;
    margin-bottom: 24px;
}

/* Gallery styles */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 28px;
    background-color: var(--white);
    border: 1px solid rgba(6, 94, 73, 0.1);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(6, 94, 73, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(6, 94, 73, 0.04);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.gallery-img-box {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #000;
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .gallery-img-box img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-card:hover .play-overlay {
    background-color: rgba(0,0,0,0.4);
}

.play-btn-circle {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(6, 94, 73, 0.4);
    transition: var(--transition);
}

.gallery-card:hover .play-btn-circle {
    transform: scale(1.1);
    background-color: var(--accent);
    box-shadow: 0 4px 15px rgba(202, 151, 53, 0.4);
}

.gallery-info {
    padding: 20px;
}

.gallery-title {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-lg);
    background-color: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--white);
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 300;
}

/* Officials Cards Styles */
.official-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.official-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(6, 94, 73, 0.04);
}

.official-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.official-img-box {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.official-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.official-details {
    padding: 24px;
    text-align: center;
}

.official-name {
    font-size: 18px;
    margin-bottom: 6px;
}

.official-title {
    font-size: 13px;
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
}

/* Contact Cards & Forms */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid rgba(6, 94, 73, 0.03);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(6, 94, 73, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.contact-card-details h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-card-details p {
    font-size: 14px;
    color: var(--text-muted);
}

.whatsapp-link-btn {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background-color: rgba(6, 94, 73, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
}

.whatsapp-link-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Footer structure */
.site-footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px 0;
    font-size: 14px;
    border-top: 5px solid var(--accent);
}

.site-footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
    position: relative;
    padding-bottom: 8px;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    border-radius: var(--radius-sm);
    align-self: flex-start;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .shariah-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .shariah-grid::after {
        display: none;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid, .official-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .combo-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    .header-container {
        height: 70px;
    }
    .menu-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 32px 24px;
        gap: 12px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        transition: var(--transition);
        z-index: 999;
    }
    .main-nav.active {
        left: 0;
    }
    .nav-link {
        font-size: 16px;
        padding: 12px 20px;
    }
    .hero-h1 {
        font-size: 30px;
    }
    .shariah-block {
        padding: 24px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid, .official-grid {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 24px;
    }
    .form-group-grid {
        grid-template-columns: 1fr;
    }
    .form-group-full {
        grid-column: span 1;
    }
    .check-grid {
        grid-template-columns: 1fr;
    }
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
