/* CSS Variables */
:root {
    /* Triadic Color Scheme */
    --primary-color: #3498db;         /* Main blue */
    --secondary-color: #e74c3c;       /* Accent red */
    --tertiary-color: #2ecc71;        /* Complementary green */
    
    /* Darker variations */
    --primary-dark: #2980b9;
    --secondary-dark: #c0392b;
    --tertiary-dark: #27ae60;
    
    /* Lighter variations */
    --primary-light: #85c1e9;
    --secondary-light: #f29f97;
    --tertiary-light: #7dcea0;
    
    /* Neutral colors */
    --dark: #333333;
    --medium-dark: #555555;
    --medium: #777777;
    --light-medium: #999999;
    --light: #f5f5f5;
    --white: #ffffff;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Merriweather', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container sizes */
    --container-max-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

ul, ol {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section Styles */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--medium);
    max-width: 700px;
    margin: 0 auto;
}

/* Button Styles */
.btn, 
button,
input[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn:hover, 
button:hover,
input[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:active, 
button:active,
input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

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

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

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

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

.btn-tertiary:hover {
    background-color: var(--tertiary-dark);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-left: var(--spacing-md);
}

.nav-menu a {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-medium);
}

.nav-menu a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    transition: all var(--transition-medium);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-content {
    padding: var(--spacing-md);
    text-align: center;
}

.card-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.card-content p {
    color: var(--medium-dark);
    margin-bottom: var(--spacing-md);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: var(--spacing-lg);
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--white);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .image-container img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: var(--spacing-md);
    text-align: center;
}

/* Accolades Section */
.accolades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.accolade-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.accolade-item:hover {
    transform: translateY(-5px);
}

.accolade-item .image-container {
    height: 200px;
    margin-bottom: var(--spacing-sm);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: var(--spacing-lg);
}

/* External Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.resource-item {
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-item .image-container {
    height: 200px;
    margin-bottom: var(--spacing-sm);
}

.resource-item h3 {
    margin-bottom: var(--spacing-xs);
}

.resource-item p {
    margin-bottom: var(--spacing-md);
}

/* Events Section */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.event-item {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.event-item:hover {
    transform: translateY(-5px);
}

.event-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
    min-width: 100px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-content {
    padding: var(--spacing-md);
    flex-grow: 1;
}

.event-content h3 {
    margin-bottom: var(--spacing-xs);
}

.event-location {
    color: var(--medium);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
}

.event-location i {
    margin-right: var(--spacing-xs);
}

/* Success Stories Section */
.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.success-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-medium);
}

.success-story:hover {
    transform: translateY(-5px);
}

.success-story .image-container {
    width: 100%;
    height: 250px;
}

.success-content {
    padding: var(--spacing-md);
    text-align: center;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial {
    text-align: center;
}

.testimonial .card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    overflow: hidden;
}

.testimonial-text {
    font-style: italic;
    color: var(--medium-dark);
    margin-bottom: var(--spacing-md);
}

.testimonial-author h4 {
    margin-bottom: 0;
}

.testimonial-author p {
    color: var(--medium);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-medium);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    padding: var(--spacing-md);
    background-color: var(--light);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pricing-header h3 {
    margin-bottom: var(--spacing-xs);
}

.price {
    margin-bottom: var(--spacing-sm);
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 0.9rem;
    color: var(--medium);
}

.pricing-features {
    padding: var(--spacing-md);
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    padding: var(--spacing-md);
    background-color: var(--light);
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.contact-info {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
}

.contact-info h3 {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-md);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.contact-info li i {
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
}

.contact-map {
    margin-top: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
}

.contact-form h3 {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-fast);
    font-family: var(--body-font);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer p {
    color: var(--light-medium);
}

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

.footer-links li,
.footer-social li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a,
.footer-social a {
    color: var(--light-medium);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--primary-color);
}

.footer-newsletter input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-sm);
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-newsletter input::placeholder {
    color: var(--light-medium);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

/* Success Page */
.success-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: var(--spacing-md);
}

.success-icon {
    font-size: 5rem;
    color: var(--tertiary-color);
    margin-bottom: var(--spacing-md);
}

.success-content {
    max-width: 700px;
}

.success-content h1 {
    margin-bottom: var(--spacing-md);
}

.success-content p {
    margin-bottom: var(--spacing-lg);
}

/* Cookie Consent */
#cookieConsent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 9999;
}

#acceptCookies {
    background-color: var(--tertiary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    margin: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color var(--transition-fast);
}

#acceptCookies:hover {
    background-color: var(--tertiary-dark);
}

/* Privacy & Terms Pages */
.page-content {
    padding-top: 120px;
    padding-bottom: var(--spacing-xl);
}

.page-content h1 {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.page-content h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.page-content p {
    margin-bottom: var(--spacing-md);
}

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

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

/* Read More Links */
.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-right: 20px;
    transition: color var(--transition-fast);
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-medium);
}

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

.read-more:hover::after {
    transform: translate(5px, -50%);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .portfolio-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }

    .portfolio-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-page-content,
    .about-section {
      padding-left: 0;
      padding-right: 0;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: left var(--transition-medium);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: var(--spacing-md);
    }

    .nav-menu li {
        margin: var(--spacing-sm) 0;
    }

    .burger-menu {
        display: flex;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .event-item {
        flex-direction: column;
    }

    .event-date {
        width: 100%;
        padding: var(--spacing-sm);
        flex-direction: row;
        justify-content: center;
    }

    .event-date .day {
        margin-right: var(--spacing-xs);
    }

    .success-story {
        flex-direction: column;
    }

    .portfolio-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }

    .services-grid,
    .accolades-grid,
    .resources-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}