/*
    D & D It Web Development And Consulting Website Stylesheet
    Author: D & D It Web Development And Consulting
    Version: 1.0.0

    TABLE OF CONTENTS
    ---------------------------
    1.  :root & Global Styles
    2.  Preloader & Cursor
    3.  Keyframe Animations
    4.  Utility Classes
    5.  Header & Navigation
    6.  Hero Section
    7.  Services Section
    8.  About Section
    9.  Interactive Section (Report & Calculator)
    10. Process Section
    11. Testimonials Section
    12. Industry Section
    13. CTA Section
    14. Footer
    15. Modal Styles
    16. Contact Page Specific Styles
    17. Legal Page Specific Styles
    18. Responsive Design (Media Queries)
        - Tablets (max-width: 1024px)
        - Mobile (max-width: 768px)
        - Small Mobile (max-width: 480px)
*/

/* 1. :root & Global Styles
---------------------------------------------------------------------------------------------------- */
:root {
    --primary-dark: #0a0c2f; /* Deep Navy Blue */
    --secondary-dark: #213353; /* Lighter Navy for cards */
    --accent-color: #ffffff; /* Bright Teal/Mint */
    --light-text: #CCD6F6; /* Light, slightly blueish-white */
    --standard-text: #8892B0; /* Muted, grayish-blue */
    --white: #FFFFFF;
    --light-shadow: rgba(2, 12, 27, 0.7);

    --font-family: 'Poppins', sans-serif;
    --transition-speed: 0.3s ease;
    --border-radius: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-dark);
    color: var(--standard-text);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: var(--light-text);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-speed);
}

a:hover {
    filter: brightness(1.2);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 100px 0;
}

/* 2. Preloader & Cursor
---------------------------------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-logo img {
    width: 120px;
    filter: brightness(0) invert(1);
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background-color: var(--secondary-dark);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background-color: var(--accent-color);
    border-radius: 2px;
    animation: loading-bar 2s infinite;
}

.cursor, .cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease, opacity 0.3s ease, background-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background-color: rgba(100, 255, 218, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.4);
    transition-duration: 0.4s;
}

body:hover .cursor, body:hover .cursor-follower {
    opacity: 1;
}

.cursor-grow {
    transform: scale(3) translate(-16.67%, -16.67%);
    background-color: rgba(100, 255, 218, 0.3);
}

/* 3. Keyframe Animations
---------------------------------------------------------------------------------------------------- */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes loading-bar {
    0% { left: -50%; }
    100% { left: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-down-animation {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes shape-animation-1 {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(45deg); }
    100% { transform: translateY(0) rotate(0); }
}

@keyframes shape-animation-2 {
    0% { transform: translate(0, 0) rotate(0); }
    50% { transform: translate(15px, 15px) rotate(-30deg); }
    100% { transform: translate(0, 0) rotate(0); }
}

@keyframes shape-animation-3 {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 4. Utility Classes
---------------------------------------------------------------------------------------------------- */
.text-center { text-align: center; }
.highlight-text { color: var(--accent-color); }

.cta-button, .secondary-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-speed);
    cursor: pointer;
    border: 2px solid var(--accent-color);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.secondary-button {
    background-color: transparent;
    color: var(--accent-color);
}

.secondary-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
}

.section-title {
    margin-bottom: 60px;
}
.section-title h2 {
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}
.section-title p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* 5. Header & Navigation
---------------------------------------------------------------------------------------------------- */
.main-header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(10, 25, 47, 0.85);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px var(--light-shadow);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    transition: var(--transition-speed);
}
.main-header.scrolled .header-logo img {
    height: 35px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--light-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a::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;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px 0;
    transition: var(--transition-speed);
    border-radius: 2px;
}

/* 6. Hero Section
---------------------------------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
}
.hero-content h1 {
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-down-indicator a span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    position: relative;
}
.scroll-down-indicator a span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
    animation: scroll-down-animation 2s infinite;
}

.hero-bg-shapes .shape {
    position: absolute;
    background-color: rgba(100, 255, 218, 0.05);
    border-radius: 50%;
}
.shape-1 {
    width: 200px;
    height: 200px;
    top: 15%;
    right: 10%;
    animation: shape-animation-1 15s infinite;
}
.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation: shape-animation-2 12s infinite;
}
.shape-3 {
    width: 50px;
    height: 50px;
    top: 50%;
    right: 20%;
    animation: shape-animation-3 10s infinite;
}

/* 7. Services Section
---------------------------------------------------------------------------------------------------- */
.services-section {
    background-color: var(--secondary-dark);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--primary-dark);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition-speed);
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px -15px var(--light-shadow);
}

.service-icon {
    margin-bottom: 20px;
}
.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent-color);
}
.service-card h3 {
    margin-bottom: 15px;
}

/* 8. About Section
---------------------------------------------------------------------------------------------------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}
.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100, 255, 218, 0.1);
    transition: var(--transition-speed);
}
.about-image:hover::after {
    background-color: transparent;
}
.about-image img {
    transition: transform 0.4s ease;
}
.about-image:hover img {
    transform: scale(1.05);
}

.feature-list {
    margin-top: 20px;
}
.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.feature-list svg {
    color: var(--accent-color);
    margin-right: 10px;
    flex-shrink: 0;
}

/* 9. Interactive Section (Report & Calculator)
---------------------------------------------------------------------------------------------------- */
.interactive-section {
    background-color: var(--primary-dark);
}
.interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.interactive-card {
    background-color: var(--secondary-dark);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: var(--transition-speed);
}

.interactive-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px -15px var(--light-shadow);
}

.interactive-card h3 {
    margin-bottom: 15px;
}

.interactive-card p {
    flex-grow: 1;
}

.card-link {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: auto;
    cursor: pointer;
}

/* Fake Chart Styles */
.fake-chart {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 100px;
    width: 100%;
    margin: 20px 0;
}
.fake-chart .bar {
    flex: 1;
    background-color: var(--accent-color);
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.interactive-card:hover .fake-chart .bar {
    opacity: 1;
}

/* ROI Calculator Styles */
#roiCalculator .form-group {
    margin-bottom: 15px;
}
#roiCalculator label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--light-text);
}
#roiCalculator input {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-dark);
    border: 1px solid var(--standard-text);
    border-radius: var(--border-radius);
    color: var(--light-text);
    font-size: 1rem;
}
#roiCalculator button {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}
.roi-result {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--primary-dark);
    border-radius: var(--border-radius);
}
.roi-result h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.roi-result p {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 0;
}

/* 10. Process Section
---------------------------------------------------------------------------------------------------- */
.process-section {
    background-color: var(--secondary-dark);
}
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 40px;
    opacity: 0.3;
}
.process-step {
    padding-left: 100px;
    position: relative;
    margin-bottom: 50px;
}
.process-step:last-child {
    margin-bottom: 0;
}
.process-number {
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.4;
    line-height: 1;
}
.process-content h3 {
    margin-bottom: 10px;
}

/* 11. Testimonials Section
---------------------------------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: var(--secondary-dark);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    position: relative;
}
.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1;
    z-index: 1;
}
.testimonial-card p {
    font-style: italic;
    position: relative;
    z-index: 2;
}
.testimonial-author {
    margin-top: 20px;
}
.testimonial-author h4 {
    margin: 0;
}
.testimonial-author span {
    font-size: 0.9rem;
    color: var(--standard-text);
}

/* 12. Industry Section
---------------------------------------------------------------------------------------------------- */
.industry-section {
    background-color: var(--secondary-dark);
}
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.industry-item {
    background-color: var(--primary-dark);
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-speed);
}
.industry-item:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}
.industry-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
    transition: var(--transition-speed);
}
.industry-item:hover svg, .industry-item:hover h4 {
    color: var(--primary-dark);
}
.industry-item h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    transition: var(--transition-speed);
}

/* 13. CTA Section
---------------------------------------------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.9)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=2015&auto=format&fit=crop') no-repeat center center/cover;
    text-align: center;
}
.cta-content {
    max-width: 700px;
    margin: 0 auto;
}
.cta-content h2 {
    margin-bottom: 20px;
}
.cta-content p {
    margin-bottom: 30px;
}

/* 14. Footer
---------------------------------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--secondary-dark);
    padding: 80px 0 30px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}
.footer-col h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col a {
    color: var(--standard-text);
}
.footer-col a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}
.footer-col address p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.footer-col address svg {
    margin-right: 10px;
    color: var(--accent-color);
    margin-top: 4px;
    flex-shrink: 0;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--primary-dark);
    padding-top: 30px;
}
.footer-bottom p {
    margin: 0;
}

/* 15. Modal Styles
---------------------------------------------------------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 25, 47, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
    background-color: var(--secondary-dark);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--accent-color);
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius);
    position: relative;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn { from { transform: translateY(-50px); } to { transform: translateY(0); } }

.close-modal {
    color: var(--standard-text);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-modal:hover { color: var(--accent-color); }
.modal-content h2 { margin-bottom: 10px; }
.modal-content > p { margin-bottom: 20px; }

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.kpi-box {
    background-color: var(--primary-dark);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}
.kpi-box h4 { font-size: 1rem; color: var(--standard-text); margin-bottom: 5px; }
.kpi-value { font-size: 2rem; color: var(--light-text); font-weight: 700; margin: 0; }
.kpi-change { font-weight: 600; }
.kpi-change.positive { color: #64ffda; }
.kpi-change.negative { color: #ff6b6b; }

.report-chart h3, .report-chart h4 { margin-bottom: 20px; }
.chart-container {
    display: flex;
    align-items: flex-end;
    height: 200px;
    gap: 15px;
    padding: 20px;
    background-color: var(--primary-dark);
    border-radius: var(--border-radius);
}
.chart-bar {
    flex-grow: 1;
    background-color: var(--accent-color);
    border-radius: 4px 4px 0 0;
    position: relative;
    text-align: center;
}
.chart-bar .label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
}

/* 16. Contact Page Specific Styles
---------------------------------------------------------------------------------------------------- */
.page-header-section {
    padding: 180px 0 100px;
    text-align: center;
    background-color: var(--secondary-dark);
}

.contact-page-section .contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}
.contact-form-wrapper h2, .contact-info-wrapper h2 {
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-text);
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--secondary-dark);
    border: 1px solid var(--standard-text);
    border-radius: var(--border-radius);
    color: var(--light-text);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition-speed);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}
.contact-form button {
    width: auto;
    cursor: pointer;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.contact-info-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 5px;
}
.contact-info-item h4 {
    margin-bottom: 5px;
}
.contact-info-item p, .contact-info-item a {
    margin: 0;
    color: var(--standard-text);
}
.contact-info-item a:hover {
    color: var(--accent-color);
}

/* 17. Legal Page Specific Styles
---------------------------------------------------------------------------------------------------- */
.legal-content-section .container {
    max-width: 800px;
}
.legal-text h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--secondary-dark);
}
.legal-text h2:first-of-type {
    margin-top: 0;
}
.legal-text p {
    margin-bottom: 15px;
}
.legal-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}
.legal-text ul li {
    margin-bottom: 10px;
}

/* 18. Responsive Design
---------------------------------------------------------------------------------------------------- */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    
    .about-content {
        gap: 40px;
    }

    .process-timeline::after {
        left: 25px;
    }
    .process-step {
        padding-left: 70px;
    }
    .process-number {
        font-size: 2.5rem;
        left: 0;
    }

    .contact-page-section .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    .cursor, .cursor-follower {
        display: none;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    section { padding: 80px 0; }

    .main-header .cta-button {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--secondary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px -15px var(--light-shadow);
    }
    .main-nav.active {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .main-nav a {
        font-size: 1.2rem;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    .about-image {
        grid-row: 1; /* Image appears on top on mobile */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col address p {
        justify-content: center;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 20px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }

    .cta-button, .secondary-button {
        width: 100%;
        text-align: center;
    }

    .interactive-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::after {
        left: 20px;
    }
    .process-step {
        padding-left: 60px;
    }
    .process-number {
        font-size: 2rem;
    }

    .report-grid {
        grid-template-columns: 1fr 1fr;
    }
}