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

:root {
 --primary-color: #ea580c;
 --primary-dark: #c2410c;
 --accent-color: #fb923c;
 --accent-dark: #f97316;
 --text-dark: #1a1a1a;
 --text-light: #4a5568;
 --bg-light: #fff7ed;
 --bg-white: #ffffff;
 --border-color: #e2e8f0;
 --footer-bg: #2d1102;
 --footer-text: #e0e0e0;
 --footer-heading-text: #ffffff;
 --font-main: 'Inter', sans-serif;
 --radius: 8px;
 --shadow: 0 4px 6px rgba(0,0,0,0.05);
 --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
 --transition: all 0.3s ease;
}

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

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

body {
 font-family: var(--font-main);
 line-height: 1.6;
 color: var(--text-light);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
}

.container {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 1.5rem;
 padding-right: 1.5rem;
}

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

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

h1, h2, h3, h4, h5, h6 {
 color: var(--text-dark);
 font-weight: 700;
 line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section {
 padding: 80px 0;
}

.bg-light {
 background-color: var(--bg-light);
}

.section-header {
 text-align: center;
 max-width: 750px;
 margin: 0 auto 50px;
}

.section-tag {
 display: inline-block;
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 1rem;
 text-transform: uppercase;
 letter-spacing: 1px;
}

.section-title {
 margin-bottom: 1rem;
}

.section-subtitle {
 font-size: 1.125rem;
 color: var(--text-light);
}

.btn {
 display: inline-block;
 padding: 12px 28px;
 font-weight: 600;
 border-radius: var(--radius);
 text-align: center;
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
}

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

.btn-primary:hover {
 background-color: var(--primary-dark);
 color: white;
 transform: translateY(-2px);
}

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

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

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

.btn-accent:hover {
 background-color: var(--accent-dark);
 color: white;
 transform: translateY(-2px);
}

/* Header */
.header {
 background: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid var(--border-color);
 position: fixed;
 width: 100%;
 top: 0;
 left: 0;
 z-index: 1000;
 transition: var(--transition);
}

.header.scrolled {
 box-shadow: var(--shadow);
}

.nav-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}

.nav-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}

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

.nav-links a {
 color: var(--text-dark);
 font-weight: 500;
 position: relative;
 padding: 5px 0;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}

.nav-toggle {
 display: none;
 cursor: pointer;
 background: none;
 border: none;
}

.nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
}

/* Hero Section */
.hero {
 min-height: 80vh;
 background-size: cover;
 background-position: center;
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 color: white;
 text-align: center;
 padding: 40px 0;
}

.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-content {
 position: relative;
 z-index: 1;
 max-width: 800px;
 padding: 0 1.5rem;
}

.hero-title {
 color: white;
 margin-bottom: 1rem;
}

.hero-subtitle {
 font-size: 1.25rem;
 margin-bottom: 2rem;
 opacity: 0.9;
}

.hero-buttons {
 display: flex;
 gap: 1rem;
 justify-content: center;
 flex-wrap: wrap;
}

/* Features grid */
.grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}

.feature-card {
 background-color: var(--bg-white);
 padding: 30px;
 text-align: center;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 transition: var(--transition);
 border: 1px solid var(--border-color);
}

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

.feature-icon-wrapper {
 background-color: var(--bg-light);
 width: 60px;
 height: 60px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 20px;
}

.feature-icon-wrapper svg {
 width: 30px;
 height: 30px;
 color: var(--primary-color);
}

.feature-title {
 margin-bottom: 10px;
}

/* Alternating Blocks */
.alternating-blocks .alternating-block {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 50px;
 align-items: center;
 margin-bottom: 80px;
}

.alternating-blocks .alternating-block:last-child {
 margin-bottom: 0;
}

.alternating-blocks .alternating-block:nth-child(even) {
 grid-template-areas: "content image";
}

.alternating-blocks .alternating-block:nth-child(odd) {
 grid-template-areas: "image content";
}

.alternating-blocks .alternating-block:nth-child(even) .alternating-content {
 grid-area: content;
}
.alternating-blocks .alternating-block:nth-child(even) .alternating-image {
 grid-area: image;
}
.alternating-blocks .alternating-block:nth-child(odd) .alternating-content {
 grid-area: content;
}
.alternating-blocks .alternating-block:nth-child(odd) .alternating-image {
 grid-area: image;
}

.alternating-image img {
 width: 100%;
 height: auto;
 border-radius: var(--radius);
 box-shadow: var(--shadow-lg);
 object-fit: cover;
 max-height: 400px;
}
.alternating-content h3 {
 margin-bottom: 1rem;
}
.alternating-content p {
 margin-bottom: 1.5rem;
}
.alternating-content ul {
 list-style-position: inside;
 margin-top: 1rem;
 padding-left: 0;
}
.alternating-content ul li {
 margin-bottom: 0.5rem;
}

/* About Overview */
#about-overview .about-overview-content {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 50px;
 align-items: center;
}
.about-overview-image img {
 width: 100%;
 border-radius: var(--radius);
 box-shadow: var(--shadow-lg);
}

/* Testimonials */
.testimonial-carousel {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}
.testimonial-card {
 background-color: var(--bg-white);
 padding: 30px;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 text-align: center;
}
.testimonial-img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 15px;
 border: 3px solid var(--accent-color);
}
.testimonial-quote {
 font-style: italic;
 margin-bottom: 15px;
 color: var(--text-dark);
}
.testimonial-author {
 font-weight: 700;
 color: var(--primary-color);
}
.testimonial-role {
 font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
 background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
 color: white;
 padding: 60px 0;
 text-align: center;
}
.cta-section h2 {
 color: white;
 margin-bottom: 1rem;
}
.cta-section p {
 max-width: 600px;
 margin: 0 auto 2rem;
 opacity: 0.9;
}
.cta-section .btn-accent {
 background: white;
 color: var(--primary-color);
}
.cta-section .btn-accent:hover {
 background: var(--bg-light);
 color: var(--primary-dark);
}

/* Footer */
.footer {
 background-color: var(--footer-bg);
 color: var(--footer-text);
 padding: 60px 0 20px;
 margin-top: 80px;
}
.footer a {
 color: var(--footer-text);
}
.footer a:hover {
 color: var(--accent-color);
}
.footer-top {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 margin-bottom: 40px;
}
.footer-logo {
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--footer-heading-text);
 margin-bottom: 1rem;
 display: inline-block;
}
.footer-col p {
 font-size: 0.9rem;
 line-height: 1.7;
}
.footer-heading {
 font-size: 1.1rem;
 font-weight: 600;
 color: var(--footer-heading-text);
 margin-bottom: 1.5rem;
 text-transform: uppercase;
 letter-spacing: .5px;
}
.footer-links {
 list-style: none;
}
.footer-links li {
 margin-bottom: 1rem;
}
.footer-contact p {
 margin-bottom: 0.5rem;
}
.footer-hours {
 margin-top: 1rem;
 font-size: 0.9rem;
 line-height: 1.5;
}
.footer-bottom {
 border-top: 1px solid rgba(255,255,255,0.1);
 padding-top: 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.85rem;
}
.footer-socials {
 display: flex;
 gap: 15px;
}
.footer-socials a svg {
 width: 20px;
 height: 20px;
}

/* Services Page */
.services-detailed-grid {
 grid-template-columns: 1fr 1fr;
}
.card {
 background: white;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 overflow: hidden;
 display: flex;
 flex-direction: column;
 transition: var(--transition);
}
.card:hover { 
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.card-img {
 height: 220px;
 width: 100%;
 object-fit: cover;
}
.card-body {
 padding: 25px;
 flex-grow: 1; display: flex; flex-direction: column;
}
.card-title { margin-bottom: 15px; }
.card-text { margin-bottom: auto; }
.card .btn-secondary { margin-top: 20px; align-self: flex-start; }

/* Timeline */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 2px;
 background-color: var(--accent-color);
 top: 0;
 bottom: 0;
 left: 50%;
 margin-left: -1px;
}
.timeline-item {
 padding: 10px 40px;
 position: relative;
 width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
 content: '';
 position: absolute;
 width: 20px;
 height: 20px;
 right: -10px;
 background-color: white;
 border: 4px solid var(--accent-color);
 top: 24px;
 border-radius: 50%;
 z-index: 1;
}
.timeline-item:nth-child(even)::after { left: -10px; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }
.timeline-content {
 padding: 20px 30px;
 background-color: white;
 position: relative;
 border-radius: var(--radius);
 box-shadow: var(--shadow);
}
.timeline-step { display: none; }

/* About Page */
.team-grid {
 gap: 30px;
}
.team-card {
 background: var(--bg-white);
 border-radius: var(--radius);
 padding: 30px;
 text-align: center;
 box-shadow: var(--shadow);
 transition: var(--transition);
}
.team-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-lg);
}
.team-photo {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 20px;
 border: 4px solid var(--accent-color);
}
.team-name {
 margin-bottom: 5px;
}
.team-role {
 color: var(--primary-color);
 font-weight: 600;
 margin-bottom: 10px;
}
.achievements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.achievement-card { text-align: center; }
.achievement-icon svg { width: 50px; height: 50px; color: var(--primary-color); margin-bottom: 1rem; }
.achievement-card h4 { font-weight: 600; }

/* Resources Page */
.whitepaper-list { display: grid; gap: 20px; }
.whitepaper-item {
 background: var(--bg-white);
 padding: 25px;
 border-radius: var(--radius);
 display: flex;
 justify-content: space-between;
 align-items: center;
 box-shadow: var(--shadow);
}
.faq-accordion .faq-item {
 background: var(--bg-white);
 margin-bottom: 10px;
 border-radius: var(--radius);
 border: 1px solid var(--border-color);
}
.faq-question {
 width: 100%;
 background: none;
 border: none;
 text-align: left;
 padding: 20px;
 font-size: 1.1rem;
 font-weight: 600;
 cursor: pointer;
 position: relative;
}
.faq-question::after {
 content: '+';
 position: absolute;
 right: 20px;
 font-size: 1.5rem;
 transition: transform 0.3s;
}
.faq-question.active::after {
 transform: rotate(45deg);
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease-out;
}
.faq-answer p {
 padding: 0 20px 20px;
}

/* Contact Page */
.contact-layout {
 display: grid;
 grid-template-columns: 2fr 1.5fr;
 gap: 50px;
}
.form .form-group {
 margin-bottom: 20px;
}
.form label {
 display: block;
 margin-bottom: 8px;
 font-weight: 600;
}
.form input, .form textarea {
 width: 100%;
 padding: 12px;
 border: 1px solid var(--border-color);
 border-radius: var(--radius);
 font-family: var(--font-main);
 font-size: 1rem;
}
.form input:focus, .form textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}
.form .checkbox-group {
 display: flex;
 align-items: center;
 gap: 10px;
}
.form .checkbox-group label {
 margin: 0;
}

.contact-info-wrapper .contact-detail-item {
 display: flex;
 align-items: flex-start;
 gap: 20px;
 margin-bottom: 25px;
}
.contact-info-wrapper .contact-icon {
 flex-shrink: 0;
 background-color: var(--bg-light);
 color: var(--primary-color);
 width: 50px;
 height: 50px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
}
.contact-info-wrapper .contact-icon svg {
 width: 24px;
 height: 24px;
}
.contact-info-wrapper strong {
 display: block;
 margin-bottom: 5px;
 color: var(--text-dark);
}
.map-container {
 height: 450px;
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow-lg);
}

/* Legal Pages */
.legal-page { padding: 120px 0 80px; }
.legal-page section { margin-bottom: 30px; }
.legal-title { margin-bottom: 20px; }
.legal-page h2 { font-size: 1.75rem; margin-bottom: 15px; margin-top: 30px; }
.legal-page ul { margin-left: 20px; margin-bottom: 1rem; }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: #333;
 color: white;
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 flex-wrap: wrap;
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: var(--accent-color); font-weight: 500;}
.cookie-buttons { display: flex; gap: 10px; }

/* Form validation */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.field-error {
 color: #dc2626;
 font-size: 0.85rem;
 margin-top: 4px;
 animation: fadeIn 0.3s ease;
}

.form-success {
 animation: fadeIn 0.3s ease;
}

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

.spinner {
 display: inline-block;
 width: 16px;
 height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}

@keyframes spin {
 to { transform: rotate(360deg); }
}

button[disabled], input[type="submit"][disabled] {
 opacity: 0.7;
 cursor: not-allowed;
}

/* Responsive */
@media screen and (max-width: 992px) {
 .grid-3, .testimonial-carousel { grid-template-columns: 1fr 1fr; }
 .alternating-blocks .alternating-block,
 #about-overview .about-overview-content { grid-template-columns: 1fr; }
 #about-overview .about-overview-content .about-overview-image { order: -1; margin-bottom: 2rem; }
 .services-detailed-grid { grid-template-columns: 1fr; }
 .contact-layout { grid-template-columns: 1fr; }
 .timeline::after { left: 30px; }
 .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
 .timeline-item:nth-child(even) { left: 0%; }
 .timeline-item::after { left: 20px; }
 .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
}

@media screen and (max-width: 768px) {
 .grid-3, .testimonial-carousel, .features-grid, .team-grid { grid-template-columns: 1fr; }
 .nav-toggle { display: block; z-index: 1001; }
 .nav-links {
 position: fixed;
 top: 0;
 right: -100%;
 width: 70%;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 transition: right 0.4s ease-in-out;
 box-shadow: -5px 0 15px rgba(0,0,0,0.1);
 }
 .nav-links ul {
 flex-direction: column;
 text-align: center;
 }
 .nav-links.active {
 right: 0;
 }
 .nav-cta {
 display: none;
 }
 .footer-top { grid-template-columns: 1fr; text-align: center; }
 .footer-bottom { flex-direction: column; gap: 1rem; }
}