/* style.css */

/* CSS Variables */
:root {
    /* Color Palette - Pastel */
    --color-background: #f0f4f8;
    --color-primary: #a8dadc;
    --color-secondary: #ffd3b6;
    --color-accent: #ffaaa5;
    --color-text: #333333;
    --color-white: #ffffff;
    --color-overlay: rgba(0, 0, 0, 0.5);
    --color-button: #ffb6c1;
    --color-button-hover: #ff9aa2;
    --color-footer-bg: #e0e0e0;

    /* Neumorphism Shadows */
    --shadow-light: 8px 8px 16px #bebebe, -8px -8px 16px #ffffff;
    --shadow-dark: inset 8px 8px 16px #bebebe, inset -8px -8px 16px #ffffff;
    
    /* Fonts */
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Transition */
    --transition-speed: 0.3s;
}

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
}

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

/* Header */
header {
    background-color: var(--color-background);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--color-text);
}

nav {
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1rem;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 4px;
    transition: all var(--transition-speed);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 60px;
        background-color: var(--color-background);
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-speed);
        box-shadow: var(--shadow-light);
    }

    .nav-links.open {
        max-height: 300px;
    }

    .burger {
        display: flex;
    }
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: var(--color-white);
    text-align: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 20px;
    background: rgba(240, 244, 248, 0.2);
    border-radius: 20px;
    box-shadow: var(--shadow-dark);
    transform: perspective(1000px) rotateX(10deg);
    transition: transform 0.5s;
}

.hero-content:hover {
    transform: perspective(1000px) rotateX(0deg);
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    padding: 15px 30px;
    background-color: var(--color-button);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-light);
    transition: background-color var(--transition-speed), transform 0.3s;
}

.cta-button:hover {
    background-color: var(--color-button-hover);
    transform: translateY(-5px);
}

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

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--color-text);
}

.container h2 {
    position: relative;
    display: inline-block;
}

.container h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--color-accent);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* Mission, Research, Methodology Sections */
#mission, #research, #methodology, #accolades {
    background-color: var(--color-background);
    box-shadow: var(--shadow-light);
    border-radius: 20px;
    padding: 40px;
}

#mission p, #research p, #methodology p, #accolades p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Services Section */
#services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 24px #bebebe, -12px -12px 24px #ffffff;
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--color-text);
}

.service-item p {
    font-size: 1rem;
    color: var(--color-text);
}

/* Events Section */
#events .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.event-item {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-item:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 24px #bebebe, -12px -12px 24px #ffffff;
}

.event-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
}

.event-item h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--color-text);
}

.event-item p {
    font-size: 1rem;
    color: var(--color-text);
}

/* Accolades Section */
#accolades p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Blog Section */
#blog .blog-post {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    padding: 20px;
    margin-bottom: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 24px #bebebe, -12px -12px 24px #ffffff;
}

.blog-post img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
}

.blog-post h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: var(--color-text);
}

.blog-post p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.read-more {
    text-decoration: none;
    color: var(--color-accent);
    font-weight: bold;
    transition: color var(--transition-speed);
}

.read-more:hover {
    color: var(--color-button-hover);
}

/* External Resources Section */
#external-resources .external-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#external-resources .external-links a {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    /*padding: 20px;*/
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.3s, box-shadow 0.3s;
}

#external-resources .external-links a:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 24px #bebebe, -12px -12px 24px #ffffff;
}

#external-resources .external-links h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--color-text);
}

#external-resources .external-links p {
    font-size: 1rem;
    color: var(--color-text);
}

/* Contact Section */
#contact form {
    background: var(--color-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    max-width: 600px;
    margin: 0 auto;
    transition: box-shadow 0.3s;
}

#contact form:hover {
    box-shadow: 12px 12px 24px #bebebe, -12px -12px 24px #ffffff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: var(--color-background);
    box-shadow: inset 5px 5px 10px #bebebe, inset -5px -5px 10px #ffffff;
    font-size: 1rem;
    color: var(--color-text);
    transition: box-shadow var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: inset 2px 2px 5px #bebebe, inset -2px -2px 5px #ffffff;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--color-button);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-light);
    transition: background-color var(--transition-speed), transform 0.3s;
}

.submit-button:hover {
    background-color: var(--color-button-hover);
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    padding: 40px 0;
    box-shadow: var(--shadow-dark);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1rem;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-media a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

.social-media a:hover {
    color: var(--color-accent);
}

footer p {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Read More Links */
.read-more {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: bold;
    transition: color var(--transition-speed);
}

.read-more:hover {
    color: var(--color-button-hover);
}

/* Social Icons as Text */
.social-media a::before {
    content: attr(aria-label) " ";
    display: inline-block;
    margin-right: 5px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

/* Success Page */
body.success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: var(--color-background);
}

.success-content {
    text-align: center;
    padding: 40px;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.success-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.success-content p {
    font-size: 1.2rem;
    color: var(--color-text);
}

/* Privacy and Terms Pages */
body.privacy-page,
body.terms-page {
    padding-top: 100px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.padding-20 {
    padding: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 1s ease-out;
}

.service-item, .event-item, .blog-post, #external-resources .external-links a {
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.6s;
}

.service-item:hover, .event-item:hover, .blog-post:hover, #external-resources .external-links a:hover {
    transform: perspective(1000px) rotateY(5deg);
}

/* Buttons and Inputs */
button, .button {
    cursor: pointer;
    transition: all var(--transition-speed);
}

input, textarea, button {
    font-family: var(--font-body);
}

/* Accessibility */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
.burger{
    display: none;
}