/* ============================================
   Al Rehman Poultry Farm - Premium Styles
   Theme: White + Dark Green + Gold + Light Yellow
   ============================================ */

:root {
    --green-dark: #0d3b2e;
    --green-mid: #1a5c45;
    --green-light: #2d8a68;
    --green-soft: #e8f5f0;
    --gold: #c9a227;
    --gold-light: #e8c547;
    --gold-dark: #a68520;
    --yellow-soft: #fef9e7;
    --yellow-warm: #f5e6b8;
    --white: #ffffff;
    --off-white: #fafbf9;
    --text-dark: #1a2e28;
    --text-muted: #5a6f68;
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --shadow-soft: 0 8px 32px rgba(13, 59, 46, 0.12);
    --shadow-gold: 0 4px 24px rgba(201, 162, 39, 0.35);
    --shadow-lift: 0 16px 48px rgba(13, 59, 46, 0.18);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Segoe UI', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

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

.container {
    width: 100%;
    max-width: 1140px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--green-dark);
}

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

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

section {
    padding: 90px 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--yellow-soft), var(--yellow-warm));
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 12px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

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

/* ========== SITE LOGO ========== */
.site-logo {
    height: 64px;
    width: auto;
    max-width: min(240px, 58vw);
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.site-logo-sm {
    height: 52px;
    max-width: min(200px, 55vw);
}

.main-navbar.scrolled .site-logo {
    height: 52px;
    max-width: min(200px, 55vw);
}

.footer-logo {
    width: min(220px, 80%);
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* ========== NAVBAR ========== */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.main-navbar.scrolled {
    background: rgba(13, 59, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 12px;
    padding: 0;
}

.brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 16px rgba(201, 162, 39, 0.4);
    transition: var(--transition);
}

.main-navbar.scrolled .brand-logo {
    width: 42px;
    height: 42px;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

.brand-text span {
    display: block;
    font-size: 0.7rem;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--gold-light);
    letter-spacing: 1px;
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    position: relative;
    border-radius: 8px;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: 60%;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--gold-light) !important;
}

.nav-btn-register {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    color: var(--green-dark) !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    margin-left: 8px;
    box-shadow: var(--shadow-gold);
}

.nav-btn-register::after { display: none !important; }

.nav-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(201, 162, 39, 0.5);
    color: var(--green-dark) !important;
}

.nav-btn-login {
    border: 1.5px solid var(--gold) !important;
    color: var(--gold-light) !important;
    border-radius: 50px !important;
    padding: 7px 18px !important;
    margin-left: 6px;
}

.nav-btn-login::after { display: none !important; }

.nav-btn-login:hover {
    background: var(--gold) !important;
    color: var(--green-dark) !important;
}

.navbar-toggler {
    border: 1px solid var(--gold);
    padding: 6px 10px;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c9a227' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== HERO ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 59, 46, 0.88) 0%,
        rgba(13, 59, 46, 0.7) 40%,
        rgba(26, 92, 69, 0.65) 70%,
        rgba(201, 162, 39, 0.25) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-welcome {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title .typing-text {
    color: var(--gold-light);
    border-right: 3px solid var(--gold);
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    50% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Premium Buttons */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
    transition: var(--transition);
}

.btn-premium .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to { transform: scale(4); opacity: 0; }
}

.btn-gold {
    background: linear-gradient(145deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--green-dark);
    box-shadow:
        0 4px 0 var(--gold-dark),
        0 8px 24px rgba(201, 162, 39, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow:
        0 6px 0 var(--gold-dark),
        0 14px 36px rgba(201, 162, 39, 0.55),
        0 0 40px rgba(201, 162, 39, 0.3);
    color: var(--green-dark);
}

.btn-gold:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 var(--gold-dark), 0 4px 12px rgba(201, 162, 39, 0.4);
}

.btn-outline-light-premium {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.btn-outline-light-premium:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(201, 162, 39, 0.3);
}

.btn-green {
    background: linear-gradient(145deg, var(--green-light), var(--green-dark));
    color: var(--white);
    box-shadow:
        0 4px 0 #082820,
        0 8px 24px rgba(13, 59, 46, 0.4);
}

.btn-green:hover {
    transform: translateY(-3px);
    color: var(--white);
    box-shadow:
        0 6px 0 #082820,
        0 14px 36px rgba(13, 59, 46, 0.5),
        0 0 30px rgba(45, 138, 104, 0.3);
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 60%; right: 15%; animation-delay: 1.5s; }
.floating-icon:nth-child(3) { bottom: 25%; left: 20%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ========== SLIDER ========== */
.slider-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--green-soft) 100%);
}

.premium-slider {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    position: relative;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.premium-slider .carousel-item {
    height: 480px;
}

.premium-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-caption-glass {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(13, 59, 46, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 20px 28px;
    color: var(--white);
}

.slider-caption-glass h5 {
    color: var(--gold-light);
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.slider-caption-glass p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.premium-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    opacity: 0.4;
}

.premium-slider .carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

.premium-slider .carousel-control-prev,
.premium-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 59, 46, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.4);
    opacity: 1;
}

.premium-slider .carousel-control-prev { left: 20px; }
.premium-slider .carousel-control-next { right: 20px; }

/* ========== FEATURES ========== */
.features-section {
    background: var(--white);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(13, 59, 46, 0.08);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-dark), var(--gold), var(--green-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lift), 0 0 40px rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--green-soft), var(--yellow-soft));
    border-radius: 20px;
    font-size: 1.8rem;
    color: var(--green-dark);
    transition: var(--transition);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(145deg, var(--green-dark), var(--green-mid));
    color: var(--gold-light);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(13, 59, 46, 0.3);
    animation: icon-pulse 1s ease infinite;
}

@keyframes icon-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(13, 59, 46, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(201, 162, 39, 0.5); }
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ========== ABOUT ========== */
.about-section {
    background: linear-gradient(135deg, var(--green-soft) 0%, var(--yellow-soft) 100%);
    overflow: hidden;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
}

.about-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-wrap:hover img {
    transform: scale(1.05);
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--gold), transparent 50%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-weight: 500;
    color: var(--text-dark);
}

.about-list li i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--green-dark);
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ========== STATS ========== */
.stats-section {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, #0a2e24 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-light);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 12px auto 0;
}

/* ========== GALLERY ========== */
.gallery-section {
    background: var(--off-white);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 59, 46, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 162, 39, 0);
    border-radius: var(--radius);
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover::after {
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: inset 0 0 30px rgba(201, 162, 39, 0.15);
}

/* ========== CONTACT ========== */
.contact-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--green-soft) 100%);
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-lift);
}

.form-group-premium {
    position: relative;
    margin-bottom: 24px;
}

.form-group-premium label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.form-group-premium .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(13, 59, 46, 0.12);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.form-group-premium .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
    background: var(--white);
}

.form-group-premium textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-info-card {
    background: linear-gradient(145deg, var(--green-dark), var(--green-mid));
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--white);
    height: 100%;
    box-shadow: var(--shadow-lift);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2), transparent 70%);
    border-radius: 50%;
}

.contact-info-card h3 {
    color: var(--gold-light);
    margin-bottom: 24px;
    position: relative;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.contact-info-item i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 12px;
    color: var(--gold-light);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.contact-info-item p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.main-footer {
    background: linear-gradient(180deg, #0a2e24 0%, #061f18 100%);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 70px;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    margin-bottom: 16px;
}

.footer-brand .footer-logo {
    width: min(220px, 85%);
    height: auto;
    border-radius: 0;
    border: none;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.footer-brand h4 span { color: var(--gold-light); }

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 280px;
}

.footer-title {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--gold);
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--green-dark);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.6;
}

.footer-bottom .gold { color: var(--gold-light); }

/* ========== ALERTS ========== */
.alert-premium {
    border-radius: 12px;
    border: none;
    padding: 14px 20px;
    font-weight: 500;
}

.alert-success-premium {
    background: linear-gradient(135deg, #e8f5f0, #d4edda);
    color: var(--green-dark);
    border-left: 4px solid var(--green-light);
}

.alert-danger-premium {
    background: linear-gradient(135deg, #fef2f2, #fce4e4);
    color: #9b1c1c;
    border-left: 4px solid #dc2626;
}

/* ========== BACK TO TOP ========== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, var(--gold), var(--gold-dark));
    color: var(--green-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-gold);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(201, 162, 39, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199.98px) {
    .main-navbar .nav-link {
        padding: 8px 10px !important;
        font-size: 0.9rem;
    }

    .site-logo {
        height: 56px;
        max-width: min(200px, 48vw);
    }
}

@media (max-width: 991.98px) {
    .main-navbar {
        padding: 10px 0;
    }

    .main-navbar.scrolled {
        padding: 8px 0;
    }

    .main-navbar .navbar-collapse {
        background: rgba(13, 59, 46, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--radius);
        padding: 16px;
        margin-top: 12px;
        border: 1px solid rgba(201, 162, 39, 0.25);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .main-navbar .nav-link {
        text-align: center;
        padding: 12px 14px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .main-navbar .nav-link::after {
        display: none;
    }

    .nav-auth-btns {
        margin-top: 12px;
        width: 100%;
    }

    .nav-btn-register,
    .nav-btn-login {
        margin: 0 !important;
        text-align: center;
        display: block;
        width: 100%;
    }

    .site-logo {
        height: 48px;
        max-width: min(180px, 55vw);
    }

    .main-navbar.scrolled .site-logo {
        height: 44px;
    }

    .hero-section {
        background-attachment: scroll;
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .premium-slider .carousel-item {
        height: min(380px, 55vw);
        min-height: 220px;
    }

    .premium-slider .carousel-control-prev,
    .premium-slider .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .about-image-wrap {
        margin-bottom: 28px;
    }

    .about-image-wrap img {
        height: min(360px, 70vw);
    }

    .feature-card {
        padding: 28px 22px;
    }

    section {
        padding: 70px 0;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .stat-number {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .gallery-item {
        margin-bottom: 16px;
    }

    .main-footer {
        padding-top: 50px;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    section {
        padding: 52px 0;
    }

    .hero-section {
        padding: 110px 0 60px;
    }

    .hero-welcome {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
        margin-bottom: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-premium {
        width: 100%;
        justify-content: center;
        padding: 13px 22px;
        font-size: 0.95rem;
    }

    .premium-slider .carousel-item {
        height: 210px;
    }

    .slider-caption-glass {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px 14px;
    }

    .slider-caption-glass h5 {
        font-size: 1rem;
    }

    .slider-caption-glass p {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .premium-slider .carousel-control-prev,
    .premium-slider .carousel-control-next {
        display: none;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about-list li {
        font-size: 0.95rem;
    }

    .stats-section {
        padding: 50px 0;
    }

    .stat-card {
        padding: 16px 8px;
    }

    .site-logo {
        height: 42px;
        max-width: min(150px, 52vw);
    }

    #backToTop {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 380px) {
    .site-logo {
        height: 38px;
        max-width: 130px;
    }

    .nav-btn-register,
    .nav-btn-login {
        font-size: 0.9rem !important;
        padding: 8px 14px !important;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-badge {
        font-size: 0.7rem;
        letter-spacing: 1px;
        padding: 5px 12px;
    }

    .feature-card {
        padding: 22px 16px;
    }
}

/* Extra small phones + large tablets polish */
@media (max-width: 480px) {
    .premium-slider {
        border-radius: 14px;
    }

    .gallery-item {
        border-radius: 12px;
        aspect-ratio: 1 / 1;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .main-footer {
        padding-top: 40px;
    }

    .footer-bottom {
        padding: 18px 0;
        font-size: 0.8rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }

    .premium-slider .carousel-item {
        height: 520px;
    }
}

/* Touch-friendly targets */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .btn-premium,
    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .feature-card:hover,
    .dash-card:hover {
        transform: none;
    }
}
