/* Base Styles */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

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

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

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: darken(var(--primary-color), 10%);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.btn-small {
    padding: 8px 20px;
    font-size: 12px;
}

/* Header & Navigation */
header {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 16px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Section */
.featured {
    padding: 80px 0;
    background-color: var(--light-color);
}

.featured h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
}

.featured h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.featured-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.featured-card p {
    padding: 0 20px 20px;
    color: var(--text-color);
}

.featured-card .btn-small {
    margin: 0 20px 20px;
}

/* Quote Section */
.quote {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.quote h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.quote blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    padding: 0 40px;
}

.quote blockquote:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: 0;
    top: -20px;
    color: var(--primary-color);
    opacity: 0.5;
}

.quote blockquote:after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    right: 0;
    bottom: -40px;
    color: var(--primary-color);
    opacity: 0.5;
}

.quote cite {
    display: block;
    margin-top: 20px;
    font-size: 1rem;
    font-style: normal;
    color: var(--accent-color);
}

/* This Day in History */
.this-day {
    padding: 80px 0;
    background-color: var(--light-color);
}

.this-day h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
}

.this-day h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.history-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.history-card .date {
    background-color: var(--primary-color);
    color: white;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 15px;
}

.history-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.history-card p {
    color: var(--text-color);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-social h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.company-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.company-info p {
    margin-bottom: 5px;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 20px 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 20px;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-cookie {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.accept {
    background-color: var(--success-color);
    color: white;
}

.customize {
    background-color: var(--accent-color);
    color: white;
}

.decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.cookie-link {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/page-banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Page Styles */
.blog-content {
    padding: 80px 0;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.blog-post {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: grid;
    grid-template-columns: 1fr 2fr;
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 100%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #777;
}

.blog-post h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.blog-post p {
    margin-bottom: 15px;
}

.blog-post .btn-small {
    margin-top: 10px;
}

/* About Page Styles */
.about-intro {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    position: relative;
}

.about-content h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.mission-vision {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission h2, .vision h2, .values h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.mission h2:after, .vision h2:after, .values h2:after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.values ul {
    list-style-type: none;
    padding-left: 0;
}

.values ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.values ul li:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
}

.team-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    padding: 20px 20px 5px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.team-member p:nth-of-type(1) {
    padding: 0 20px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-member p:nth-of-type(2) {
    padding: 0 20px 20px;
    color: var(--text-color);
}

.achievements {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.achievements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.achievements h2:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.achievements-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.achievements-timeline:before {
    content: "";
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    left: 50px;
    top: 0;
}

.achievement {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.achievement-year {
    width: 100px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 10px 0;
    background-color: var(--primary-color);
    border-radius: 4px;
    z-index: 1;
}

.achievement-content {
    flex: 1;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-left: 30px;
}

.achievement-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-info h2, .contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    position: relative;
}

.contact-info h2:after, .contact-form h2:after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.social-contact {
    margin-top: 40px;
}

.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-form form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.submit-btn {
    width: 100%;
}

.map-section {
    padding: 40px 0 80px;
    background-color: var(--light-color);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #777;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--error-color);
}

.modal-body {
    text-align: center;
}

.checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--success-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: var(--success-color);
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.modal-body h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.modal-body p {
    margin-bottom: 25px;
}

.close-btn {
    padding: 10px 30px;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .post-image {
        height: 300px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .btn-cookie {
        width: 100%;
        margin-bottom: 10px;
    }
}
