/* ==========================================================================
   GLOBAL STYLES & VARIABLES
   ========================================================================== */
:root {
    --primary-color: #ff4d00; /* The vibrant orange highlight */
    --primary-hover: #e64500;
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --light-bg: #fdfdfd;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --border-color: #eaeaea;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .hero-badge, .stat-label, .tools-heading, .timeline-company, .logo {
    font-family: var(--font-heading);
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
.highlight-orange {
    color: var(--primary-color);
}

.btn-primary, .btn-primary-small {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading); /* Forces Montserrat */
    text-transform: uppercase; /* Forces ALL CAPS */
    letter-spacing: 0.5px; /* Adds a premium touch of spacing */
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-primary:hover, .btn-primary-small:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary, .btn-secondary-small {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading); /* Forces Montserrat */
    text-transform: uppercase; /* Forces ALL CAPS */
    letter-spacing: 0.5px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary {
    padding: 12px 30px;
    font-size: 1rem;
}

.btn-secondary-small {
    padding: 8px 22px;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background-color: var(--text-main);
    color: var(--white);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-primary-small) {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading); /* Forces Montserrat */
    color: #cccccc;
    letter-spacing: 0.5px;
}

.nav-links a:hover:not(.btn-primary-small), .nav-links a.active {
    color: var(--primary-color);
}

/* ==========================================================================
   HERO SECTION (Circular UI Design)
   ========================================================================== */
.hero-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 77, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

/* Floating Elements around Hero */
.floating-quote {
    position: absolute;
    top: -20px;
    right: 0;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 250px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10;
}

.floating-quote i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: block;
}

/* Image Container */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 600px;
}

.circle-bg {
    position: absolute;
    bottom: 0;
    width: 450px;
    height: 450px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.hero-portrait {
    position: relative;
    z-index: 2;
    max-height: 110%;
    object-fit: contain;
    bottom: 0;
}

.floating-stat {
    position: absolute;
    bottom: 50px;
    left: 0;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stars {
    color: #ffb400;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.stat-number {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-top: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   TOOLS BANNER
   ========================================================================== */
.tools-banner {
    background-color: #f5f5f5;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.tools-heading {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.tool-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ==========================================================================
   SERVICES SECTION (Dark Theme Grid)
   ========================================================================== */
.services-section {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: #aaaaaa;
    font-size: 1.1rem;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--dark-card);
    padding: 40px 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: #bbbbbb;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.service-card:hover .service-link {
    background-color: var(--primary-color);
}

/* The highlighted middle card from the UI */
.highlight-card {
    background-color: var(--primary-color);
}

.highlight-card .service-icon, 
.highlight-card h3, 
.highlight-card p {
    color: var(--white);
}

.highlight-card .service-link {
    background-color: rgba(255,255,255,0.2);
}

.highlight-card:hover .service-link {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ==========================================================================
   EXPERIENCE TIMELINE
   ========================================================================== */
.experience-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.experience-text {
    flex: 1;
}

.experience-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.experience-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.timeline {
    flex: 1;
    position: relative;
    border-left: 2px solid var(--border-color);
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -47px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 4px rgba(255, 77, 0, 0.2);
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.timeline-company {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   CTA & FOOTER
   ========================================================================== */
.cta-section {
    background-color: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.cta-contact-box {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    padding: 10px 10px 10px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    gap: 30px;
}

.contact-info {
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   FOOTER (Multi-Column Agency Style)
   ========================================================================== */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 20px 20px 20px;
}
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-brand {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}
.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.footer-brand p {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}
.footer-socials {
    display: flex;
    gap: 15px;
}
.footer-socials a {
    font-size: 1.3rem;
    color: var(--white);
    transition: color 0.3s ease;
}
.footer-socials a:hover {
    color: var(--primary-color);
}
.footer-columns {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: #aaaaaa;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888888;
}

/* Mobile Footer Fixes */
@media (max-width: 768px) {
    .footer-columns {
        gap: 30px;
        flex-direction: column;
    }
}

/* ==========================================================================
   COOKIE BANNER (Fixed Bottom)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    display: none; /* Controlled via JS in index.html */
    justify-content: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
}

.cookie-content {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: #cccccc;
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        margin: 40px auto;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
        margin-bottom: 60px;
    }
    
    .floating-quote {
        display: none; /* Hide on smaller screens to prevent clutter */
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Stack the logo and links vertically on mobile */
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .circle-bg {
        width: 300px;
        height: 300px;
    }
    
    .cta-contact-box {
        flex-direction: column;
        padding: 20px;
        border-radius: 20px;
        gap: 15px;
    }
    
    .cta-container h2 {
        font-size: 2rem;
    }
}
/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.4);
    z-index: 999;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    opacity: 1;
    transform: translateY(-5px);
    background-color: var(--primary-hover);
    color: var(--white);
}
/* ==========================================================================
   MODAL POP-UP STYLES
   ========================================================================== */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.85); /* Dark semi-transparent background */
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================================
   INSIGHTS HUB SECTION
   ========================================================================== */
.insights-section {
    background-color: #f5f5f5;
    padding: 100px 20px;
    border-top: 1px solid var(--border-color);
}

.insights-container {
    max-width: 1200px;
    margin: 0 auto;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.insight-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.insight-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--dark-bg);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.insight-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.insight-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.read-more {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   INSIGHT MODAL CONTENT SPECIFICS
   ========================================================================== */
.insight-modal-content {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px;
    text-align: left;
}

.insight-infographic {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.insight-body h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 30px 0 10px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.insight-body p {
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.7;
}

.insight-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.insight-body ul li {
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.6;
}

.results-list {
    list-style: none;
    padding-left: 0 !important;
}

.results-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.results-list i {
    color: #14a800; /* Success green */
    margin-top: 4px;
}

/* Responsive adjustments for the new modal */
@media (max-width: 768px) {
    .insight-modal-content {
        padding: 30px 20px;
    }
    
    .insight-modal-content h2 {
        font-size: 1.5rem;
    }
}
/* Modal Overlay (hidden by default) */
.modal-overlay {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.6); 
}

/* Modal Content Box */
.modal-content {
  background-color: #fefefe;
  margin: 10% auto; /* 10% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 650px; /* Accommodates your form's 600px max-width */
  border-radius: 8px;
  position: relative;
}

/* Close Button */
.close-modal {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
  text-decoration: none;
}