:root {
    --primary-color: #0d47a1; /* Dark Blue */
    --secondary-color: #ffffff;
    --accent-color: #ff6f00; /* Bright Orange */
    --text-dark: #212121;
    --text-light: #f5f5f5;
    --text-muted: #6c757d;
    --bg-dark: #1a1a1a;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: clamp(4rem, 8vw, 6rem);
}

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

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

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--secondary-color);
    line-height: 1.7;
}

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

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

p {
    margin-bottom: 1rem;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background-color: #e65100;
    border-color: #e65100;
    color: white;
    transform: translateY(-2px);
}

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

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

.hero .btn-secondary {
    color: white;
    border-color: white;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.text-light h1, .text-light h2, .text-light h3, .text-light p {
    color: var(--text-light);
}
.text-light .section-subtitle { color: rgba(255, 255, 255, 0.7); }

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
[class^="section-"] { padding: var(--section-padding) 0; }

/* Header */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: var(--header-height);
}

.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo:hover { color: var(--accent-color); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-cta {
    display: block;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    color: white;
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
}

.hero-home {
    min-height: 90vh;
    background-image: url('https://images.pexels.com/photos/7688174/pexels-photo-7688174.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
}

.hero-page {
    min-height: 50vh;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--secondary-color);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

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

.service-card {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

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

.service-card-content {
    padding: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.card-link {
    font-weight: 600;
    color: var(--accent-color);
    display: inline-block;
    margin-top: 1rem;
}
.card-link i { transition: transform 0.3s ease; }
.card-link:hover i { transform: translateX(5px); }

/* About Section */
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
    box-shadow: var(--shadow);
}


/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-color);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.author-name {
    font-weight: 700;
    display: block;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Partners */
.section-partners { padding: 3rem 0; }
.partners-title { color: #aaa; text-align: center; margin-bottom: 2rem; font-weight: 400; font-size: 1.1rem; }

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.6;
    font-size: 3rem;
    color: #fff;
}

/* CTA */
.section-cta {
    background: var(--primary-color);
}
.cta-content {
    text-align: center;
    color: white;
}
.cta-title { color: white; }
.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}
.section-cta .btn-primary {
    background: var(--accent-color);
    color: white;
}

/* Footer */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-heading {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}
.footer-column p { color: #ccc; }

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-icons a {
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #555;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links, .footer-contact { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 0.5rem; }
.footer-links a, .footer-contact a { color: #ccc; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent-color); text-decoration: underline; }

.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { margin-top: 5px; color: var(--accent-color); }
.footer-contact p { margin-bottom: 0; }
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    color: #aaa;
}
.footer-bottom p { margin: 0; }


/* About Page Specifics */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    top: 25px;
    z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }
.values-list {
    list-style: none;
    padding-left: 0;
}
.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.values-list i { color: var(--accent-color); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}
.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Services Page Specifics */
.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-detail-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}
.service-detail-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.service-detail-card h3 { margin-bottom: 1rem; }
.service-detail-card .btn { margin-top: 1.5rem; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* FAQ Accordion */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p { padding: 0 0 1.5rem; color: var(--text-muted); }
.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Portfolio Page */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.case-study-tag {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.case-study-content { padding: 1.5rem; }

/* Education Page */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.education-card {
    background: white;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}
.education-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.education-card .btn { margin-top: 1rem; }

/* Blog Page */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 992px) {
    .blog-layout { grid-template-columns: 2fr 1fr; }
}
.blog-posts { display: grid; gap: 2.5rem; }
.blog-post-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.blog-post-content { padding: 1.5rem; }
.blog-post-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.blog-post-title { font-size: 1.3rem; margin-bottom: 0.5rem; }

.sidebar-widget {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.widget-title { font-size: 1.2rem; margin-bottom: 1rem; }
.category-list { list-style: none; }
.category-list li { margin-bottom: 0.5rem; }
.sidebar-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}
.sidebar-form .btn { width: 100%; }

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}
@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 1.5fr 1fr; }
}

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2);
}
.btn-full { width: 100%; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 2rem; }
.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}
.contact-info-item h4 { margin-bottom: 0.25rem; }
.contact-info-item p, .contact-info-item a { margin: 0; color: var(--text-muted); }
.contact-info-wrapper .social-icons { justify-content: flex-start; }
.contact-info-wrapper .social-icons a { color: var(--text-dark); border-color: var(--text-dark); }
.contact-info-wrapper .social-icons a:hover { background: var(--primary-color); border-color: var(--primary-color); color: white; }

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 4rem 0;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Legal and Thank You pages */
.section-legal { padding: var(--section-padding) 0; }
.text-content { max-width: 800px; margin: 0 auto; }
.text-content h2 { margin: 2rem 0 1rem; }
.text-content ul { padding-left: 20px; margin-bottom: 1rem; }
.thank-you-section {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
.thank-you-icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}
.thank-you-section h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}
.thank-you-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 30px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 1rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 9999;
    flex-wrap: wrap;
}
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--accent-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.5rem; }
.cookie-buttons .btn-primary { background-color: var(--accent-color); }
.cookie-buttons .btn-secondary { background: #555; color: white; border-color: #555; }


/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 70%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-link { font-size: 1.2rem; }
    .hamburger { display: block; }
    .nav-cta { display: none; }
    .grid-two-col { grid-template-columns: 1fr; }
    .about-image { order: -1; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .hero { min-height: 60vh; }
    .hero-buttons { flex-direction: column; }
    .timeline::after { left: 10px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item .timeline-content, .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
    .timeline-dot { left: 0; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { right: auto; left: 0; }
    .map-container { height: 350px; }
    .cookie-banner { flex-direction: column; text-align: center; }
}