/* Custom styles for Daffodil Scholarship Foundation */

:root {
    --primary-color: #F2CB05; /* Golden Yellow */
    --secondary-color: #000000; /* Black for contrast (e.g. button text, footer bg) */
    --accent-color: #8FA26B; /* Muted Olive/Sage Green */
    --light-bg: #E4EBF3; /* Light Blue/Gray for main background */
    --dark-text: #000000; /* Pure Black for main headings */
    --muted-text-color: #555555; /* Dark Gray for less prominent text */
    --card-bg-color: #FFFFFF; /* White for card backgrounds */
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --button-radius: 30px;
}

/* General styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; /* Modern system UI font stack */
    color: #333333; /* Dark Gray for body text */
    line-height: 1.6;
    background-color: var(--light-bg); /* Apply new light background to body */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-text); /* Pure Black for all headings */
    font-weight: 700; /* Ensure headings are bold */
}

/* Hero section */
.hero {
    background-color: #FFFFFF; /* White background */
    color: var(--dark-text); /* Default text color for the section, will be overridden */
    padding: 80px 0; /* Adjust padding as needed */
    text-align: center;
}

.hero-logo-inline {
    max-height: 150px; /* Desktop logo size */
    max-width: 80%; /* Ensure it doesn't overflow on small screens */
    display: block; /* Ensure it's centered */
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-weight: 700;
    font-size: 3rem;  /* Adjusted size */
    text-shadow: none; /* Remove text shadow */
    margin-bottom: 1rem; /* Adjusted spacing */
    color: var(--dark-text); /* Pure Black for heading */
}

.hero p.lead {
    font-size: 1.2rem; /* Adjusted size */
    margin-bottom: 2.5rem; /* More space before the button */
    text-shadow: none; /* Remove text shadow */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #333333; /* Dark Gray for hero lead paragraph, matching body */
}

.hero .btn-primary {
    padding: 15px 35px; /* Larger button padding */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase; /* Uppercase for more emphasis */
    letter-spacing: 0.5px;
}

/* Buttons - Modern Style */
.btn {
    border-radius: var(--button-radius);
    padding: 10px 24px;
    font-weight: 600;
    text-transform: none;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: none;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1rem;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #e6bf04; /* Darker shade of #F2CB05 */
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

.btn-dark:hover, .btn-dark:focus {
    background-color: #333;
    color: white;
    transform: translateY(-2px);
}

/* Cards - Modern Style */
.card {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    background-color: var(--card-bg-color); /* White for card background */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text); /* Card titles should also be Pure Black */
}

.card-text {
    color: var(--muted-text-color); /* Use Dark Gray for card text */
    line-height: 1.6;
}

/* Scholarship cards */
.scholarship-card {
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.scholarship-amount {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
    display: inline-block;
    background-color: rgba(242, 203, 5, 0.15); /* rgba version of #F2CB05 */
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Testimonial cards */
.testimonial-card {
    background-color: #fff;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.testimonial-card .card-body {
    padding-top: 2rem;
}

.testimonial-card .card-text {
    font-style: italic;
    position: relative;
    padding-left: 10px;
    color: var(--muted-text-color); /* Ensure testimonial text also uses muted color */
}

.testimonial-card .fa-quote-left,
.testimonial-card .fa-quote-right {
    color: var(--muted-text-color); /* Color for quote icons */
}

/* Team member images */
.team-member-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

/* Icon styling */
i.fas,
i.fab,
i.far {
    color: var(--secondary-color) !important; /* Use important to override defaults if necessary */
}

/* Footer */
.footer {
    background-color: var(--accent-color); /* Changed from --secondary-color for a softer look */
    color: #ffffff; /* Ensure text remains white or light for contrast */
    padding: 40px 0;
}

.footer a {
    color: var(--primary-color); /* Golden yellow for links in footer */
}

.footer a:hover {
    color: #FFFFFF; /* White on hover for footer links */
}

/* Social icons */
.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: white;
    color: var(--secondary-color);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    /* Hero section mobile optimization */
    .hero {
        padding: 50px 20px; /* Reduced vertical padding, added horizontal padding */
    }
    
    .hero-logo-inline {
        max-height: 100px; /* Smaller logo on mobile */
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 2rem; /* Smaller heading on mobile */
        line-height: 1.2; /* Tighter line height for better fitting */
        margin-bottom: 15px;
    }
    
    .hero p.lead {
        font-size: 1rem; /* Smaller paragraph text */
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .hero .btn-primary {
        padding: 12px 25px; /* Smaller button padding */
        font-size: 1rem;
        width: 90%; /* Make button wider on mobile */
        max-width: 300px; /* But not too wide */
    }
}
