/* ========================================
   SATYAWATI FOUNDATION - MAIN STYLESHEET
   Color Scheme: Gold (#D4AF37) & Dark (#2C2C2C)
======================================== */

/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --gold-primary: #D4AF37;
    --gold-light: #F4C430;
    --gold-dark: #B8960C;
    --black-primary: #2C2C2C;
    --black-light: #3D3D3D;
    --black-lighter: #4D4D4D;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #666666;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black-primary);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========================================
   TOP BAR
======================================== */
.top-bar {
    background: var(--black-primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left a {
    color: var(--white);
    margin-right: 20px;
    transition: var(--transition);
}

.top-bar-left a:hover {
    color: var(--gold-primary);
}

.top-bar-left i {
    margin-right: 5px;
    color: var(--gold-primary);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--black-light);
    border-radius: 50%;
    margin-left: 8px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
}

/* ========================================
   HEADER
======================================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    /*width: 60px;*/
    height: 60px;
    object-fit: contain;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--black-primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 12px;
    color: var(--gold-primary);
    font-style: italic;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--black-primary);
    cursor: pointer;
}

.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a {
    padding: 10px 15px;
    color: var(--black-primary);
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a:hover,
.nav a.active {
    background: var(--gold-primary);
    color: var(--white);
}

.nav .btn-donate {
    background: var(--gold-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    margin-left: 10px;
    font-weight: 600;
}

.nav .btn-donate:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black-primary) 0%, var(--black-light) 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9) 0%, rgba(44, 44, 44, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--gold-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: var(--gold-primary);
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black-primary);
}

.btn-light {
    background: var(--white);
    color: var(--black-primary);
}

.btn-light:hover {
    background: var(--gold-primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--black-primary);
}

/* ========================================
   STATISTICS SECTION
======================================== */
.stats-section {
    background: var(--gold-primary);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.stat-card i {
    font-size: 50px;
    margin-bottom: 15px;
    color: var(--black-primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 18px;
    font-weight: 500;
}

/* ========================================
   SECTION STYLES
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--black-primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--gold-primary);
    margin: 0 auto;
}

/* ========================================
   ABOUT PREVIEW SECTION
======================================== */
.about-preview {
    padding: 100px 0;
    background: var(--gray-light);
}

.about-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-image {
    position: relative;
}

.about-preview-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold-primary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    text-align: center;
}

.about-image-badge i {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}

.about-image-badge span {
    font-weight: 600;
    font-size: 14px;
}

.about-preview-text h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--black-primary);
}

.about-preview-text p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.about-features {
    list-style: none;
    margin-bottom: 30px;
}

.about-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features i {
    color: var(--gold-primary);
    font-size: 20px;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 35px;
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--black-primary);
}

.service-card p {
    color: var(--gray-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card a {
    color: var(--gold-primary);
    font-weight: 600;
    transition: var(--transition);
}

.service-card a:hover {
    color: var(--gold-dark);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--black-primary), var(--black-light));
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--gold-primary);
    opacity: 0.1;
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--gold-light);
    font-size: 18px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-quote {
    font-size: 50px;
    color: var(--gold-primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-card p {
    color: var(--gray-dark);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
}

.testimonial-author h4 {
    color: var(--black-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--gold-primary);
    font-size: 14px;
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black-primary), var(--black-light));
    background-image: url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 44, 44, 0.8);
}

.page-header h1 {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 56px;
    color: var(--white);
    text-align: center;
    margin-bottom: 20px;
}

.breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gold-light);
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--gold-primary);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--black-primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--gold-primary);
}

.footer-column p {
    color: var(--gray-medium);
    line-height: 1.8;
}

.footer-cin {
    margin-top: 15px;
    padding: 10px;
    background: var(--black-light);
    border-left: 3px solid var(--gold-primary);
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-medium);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--gray-medium);
}

.footer-contact i {
    color: var(--gold-primary);
    font-size: 18px;
    margin-top: 3px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--black-light);
    background: var(--black-light);
    color: var(--white);
    border-radius: 5px;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--gold-primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--gold-dark);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--black-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--black-light);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom-content p {
    color: var(--gray-medium);
    margin-bottom: 10px;
}

/* ========================================
   SCROLL TO TOP
======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition);
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid var(--gray-light);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 40px;
    }

    .about-preview-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ADDITIONAL PAGES STYLES
======================================== */
.about-content,
.services-content,
.contact-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-highlights {
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: 8px;
    transition: var(--transition);
}

.highlight-item:hover {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.highlight-item i {
    font-size: 30px;
    color: var(--gold-primary);
}

.highlight-item h4 {
    margin-bottom: 5px;
    color: var(--black-primary);
}

.highlight-item p {
    color: var(--gray-dark);
    font-size: 14px;
}

.mission-vision {
    padding: 80px 0;
    background: var(--gray-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--gold-primary);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mv-icon i {
    font-size: 35px;
    color: var(--white);
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--black-primary);
}

.directors-section {
    padding: 80px 0;
}

.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.director-card {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.director-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.director-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold-primary);
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--black-primary);
}

.director-title {
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.company-info {
    padding: 80px 0;
    background: var(--black-primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.info-card {
    text-align: center;
    padding: 30px;
    background: var(--black-light);
    border-radius: 10px;
    transition: var(--transition);
}

.info-card:hover {
    background: var(--gold-primary);
}

.info-card i {
    font-size: 40px;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.info-card:hover i {
    color: var(--white);
}

.info-card h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    color: var(--gray-medium);
    font-size: 14px;
}

.info-card:hover p {
    color: var(--white);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}