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

:root {
    --primary-color: #d4af37;
    --primary-light: #f6d365;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --secondary-color: #1e293b; /* Modern slate */
    --accent-color: #e74c3c;
    --text-color: #334155;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --white: #ffffff;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.05);
}

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

.btn-secondary:hover {
    background: #0f172a;
}

/* Header/Landing */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlideFade 10s infinite;
}

.hero-bg-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero .container {
    position: relative;
    z-index: 1;
    margin-top: 70px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 0;
}

@keyframes heroSlideFade {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    45% { opacity: 1; }
    55% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

/* Premium Hero Upgrade */
.premium-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-premium-title {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    letter-spacing: -0.5px;
}

.highlight-text {
    color: #ffd6df; /* Soft Blush/Champagne */
    position: relative;
    display: inline-block;
}

.hero-premium-subtitle {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 45px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.95);
    padding: 0 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-premium {
    background-color: #ffd6df; /* Blush */
    color: #1e1e1e;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-premium {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-premium:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Reusable Page Headers */
.page-header-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 30px 0 15px;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--primary-light);
    font-size: 1.75rem;
    font-weight: 700;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-column p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
}

.footer-column i {
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

.footer-column a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Premium Feature Cards Section */
.feature-card {
    background: transparent;
    padding: 60px 25px 45px;
    margin-top: 45px;
    margin-bottom: 25px;
    border: 1px solid #d1d5db; /* Clean border like the reference */
    border-radius: var(--radius-md); /* Added curve shape to the card */
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon-outer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--light-bg); /* Match section bg to naturally cut the top border */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.feature-icon-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08); /* Very soft gold for the inner background */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover .feature-icon-inner {
    transform: rotateY(180deg) scale(1.1); /* Flips 180 degrees backwards on hover */
    background: var(--primary-color);
    box-shadow: 0 8px 15px rgba(212, 175, 55, 0.3);
}

.feature-card i {
    color: var(--primary-color) !important;
    transition: all 0.6s ease;
}

.feature-card:hover i {
    color: var(--white) !important;
    transform: rotateY(180deg); /* Counter-rotate so the icon stays upright! */
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.45rem;
    font-family: 'Playfair Display', serif;
}

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

.feature-read-more {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    background: var(--primary-color); /* Changed to website's main golden color */
    color: var(--white);
    padding: 8px 22px;
    border-radius: 20px; /* Optional: adds a slight curve to the button for better aesthetics */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 2;
    border: 4px solid var(--light-bg); /* To cut the bottom border perfectly */
}

.feature-card:hover .feature-read-more {
    background: var(--secondary-color); /* Turns Dark slate on hover */
    transform: translate(-50%, 50%) translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.3);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

/* Base Responsive rules for global styles */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-premium-title {
        font-size: 3.8rem;
    }
    .page-header-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-premium-title {
        font-size: 2.8rem;
    }
    .page-header-title {
        font-size: 2.1rem;
    }
    .hero-premium-subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }
    .section-title {
        font-size: 1.8rem;
    }
}