/*
================================================
Webdev Technologies - Digital Marketing Agency
Stylesheet
================================================
*/

/*------------------------------------------------
    1.  :root Variables & Global Styles
    2.  Typography & Utility Classes
    3.  Header & Navigation
    4.  Mobile Menu
    5.  Footer
    6.  Buttons & Form Elements
    7.  Animations & Keyframes
    8.  Scrollbar Styling
    9.  Page: Homepage (index.html)
        9.1  - Hero Section
        9.2  - Clients Marquee Section
        9.3  - Services Section
        9.4  - About / Why Choose Us Section
        9.5  - Stats Counter Section
        9.6  - Process Timeline Section
        9.7  - Interactive ROI Calculator Section
        9.8  - Testimonials Section
        9.9  - CTA Section
    10. Page: Contact (contact.html)
    11. Page: Legal (Privacy, Terms, Disclaimer)
    12. Responsive Design (Media Queries)
------------------------------------------------*/

/* 1. :root Variables & Global Styles
------------------------------------------------*/
:root {
    --primary-color: #00AEEF;
    /* A vibrant, techy blue */
    --secondary-color: #00e1ff;
    --bg-dark: #0a0a0a;
    --bg-surface: #121212;
    --bg-surface-2: #1a1a1a;
    --border-color: #2a2a2a;
    --text-headings: #ffffff;
    --text-body: #b0b0b0;
    --text-muted: #7a7a7a;
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --transition-speed: 0.4s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-body);
    font-family: var(--font-family);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Typography & Utility Classes
------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-headings);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(20px);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* 3. Header & Navigation
------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    z-index: 1001;
}

.logo img {
    height: 80px;
    transition: transform var(--transition-speed) ease;
    filter: brightness(0) invert(1);
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-headings);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 10px 0;
    transition: color var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
}

/* 4. Mobile Menu
------------------------------------------------*/
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 22px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-headings);
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

/* Mobile menu open state */
.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-surface);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mobile-menu.open {
    right: 0;
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin-bottom: 30px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    color: var(--text-headings);
    font-weight: 700;
}

/* 5. Footer
------------------------------------------------*/
.footer {
    background-color: var(--bg-surface);
    padding: 80px 0 30px;
    color: var(--text-body);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--text-headings);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.about-col p {
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-surface-2);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-body);
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--text-headings);
    transform: translateY(-3px);
}

.links-col ul li {
    margin-bottom: 15px;
}

.links-col ul li a {
    color: var(--text-body);
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
}

.links-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 5px;
    width: 16px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 6. Buttons & Form Elements
------------------------------------------------*/
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-headings);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--bg-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-headings);
    border-color: var(--text-headings);
}

.btn-secondary:hover {
    background-color: var(--text-headings);
    color: var(--bg-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-headings);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* 7. Animations & Keyframes
------------------------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(0, 174, 239, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 174, 239, 0);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* 8. Scrollbar Styling
------------------------------------------------*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


/* 9. Page: Homepage (index.html)
------------------------------------------------*/

/* 9.1 - Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)),
        url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent, var(--bg-dark) 85%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(0, 174, 239, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 174, 239, 0.3);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeIn 1s ease-out, slideInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 25px;
    animation: fadeIn 1.2s ease-out 0.2s, slideInUp 1.2s ease-out 0.2s;
    animation-fill-mode: backwards;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto 40px auto;
    animation: fadeIn 1.4s ease-out 0.4s, slideInUp 1.4s ease-out 0.4s;
    animation-fill-mode: backwards;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1.6s ease-out 0.6s, slideInUp 1.6s ease-out 0.6s;
    animation-fill-mode: backwards;
}

/* 9.2 - Clients Marquee Section */
.clients-section {
    padding: 40px 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.clients-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clients-track {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 200px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-height: 40px;
    filter: grayscale(1) brightness(0.7);
    opacity: 0.7;
    transition: all var(--transition-speed) ease;
}

.client-logo:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* 9.3 - Services Section */
.services-section {
    background-color: var(--bg-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-surface-2);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.1), transparent 40%);
    transition: opacity 0.8s ease;
    opacity: 0;
    transform-origin: center;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 9.4 - About / Why Choose Us Section */
.about-section {
    padding-bottom: 60px;
    /* To account for wave */
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    z-index: -1;
    transition: all 0.5s ease;
}

.about-wrapper:hover .about-image::after {
    transform: translate(10px, 10px);
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.about-content li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-content li::before {
    content: '\f058';
    /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    transform: rotate(180deg);
}

.wave-divider .shape-fill {
    fill: var(--bg-surface);
}


/* 9.5 - Stats Counter Section */
.stats-section {
    background-color: var(--bg-surface);
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: var(--bg-surface-2);
    padding: 40px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* 9.6 - Process Timeline Section */
.process-section {
    padding-bottom: 180px;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.process-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circle on the timeline */
.process-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -14.5px;
    background-color: var(--bg-surface);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.5s ease;
}

.process-item.left {
    left: 0;
}

.process-item.right {
    left: 50%;
}

.process-item.right::after {
    left: -12.5px;
}

.process-content {
    padding: 20px 30px;
    background-color: var(--bg-surface);
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.process-item .process-icon {
    position: absolute;
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: var(--text-headings);
    z-index: 2;
    transition: color 0.5s ease;
}

.process-item.visible::after {
    background-color: var(--primary-color);
}

.process-item.visible .process-icon {
    color: var(--bg-dark);
}

.process-content h3 {
    color: var(--primary-color);
}

.process-item.left {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1s ease;
}

.process-item.right {
    transform: translateX(100px);
    opacity: 0;
    transition: all 1s ease;
}

.process-item.visible {
    transform: translateX(0);
    opacity: 1;
}

/* 9.7 - Interactive ROI Calculator Section */
.calculator-section {
    background-color: var(--bg-surface);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-surface-2);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.calculator-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calculator-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-body);
}

.roi-results {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-dark);
    padding: 40px;
    border-radius: 12px;
}

.roi-results h3 {
    color: var(--bg-dark);
    font-weight: 800;
    margin-bottom: 30px;
}

.result-item {
    margin-bottom: 25px;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
}

.result-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

/* 9.8 - Testimonials Section */
.testimonials-section {
    position: relative;
}

.testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    z-index: -1;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.8s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: var(--text-headings);
    margin-bottom: 30px;
    position: relative;
    padding: 0 40px;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-color);
    position: absolute;
    opacity: 0.5;
}

.testimonial-quote::before {
    top: -10px;
    left: 0;
}

.testimonial-quote::after {
    bottom: -40px;
    right: 0;
}

.testimonial-author {
    margin-top: 30px;
}

.author-name {
    font-weight: 700;
    color: var(--text-headings);
}

.author-company {
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.slider-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-headings);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 9.9 - CTA Section */
.cta-section {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-dark);
    font-weight: 800;
}

.cta-content p {
    color: var(--bg-dark);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}


/* 10. Page: Contact (contact.html)
------------------------------------------------*/
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    background-color: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 174, 239, 0.1), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 174, 239, 0.05), transparent 25%);
}

.breadcrumb {
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-headings);
    font-weight: 600;
}

.contact-section-standalone {
    padding: 120px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background-color: var(--bg-surface);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-headings);
}

.contact-text p {
    margin: 0;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background-color: var(--bg-surface);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--bg-surface);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.popup-content h3 {
    font-size: 2rem;
    color: var(--text-headings);
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* 11. Page: Legal (Privacy, Terms, Disclaimer)
------------------------------------------------*/
.legal-content {
    padding: 120px 0;
}

.legal-content .container {
    max-width: 850px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

.legal-section p,
.legal-section li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-section ul {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 20px;
}

.legal-section strong {
    color: var(--text-headings);
    font-weight: 600;
}

.legal-section:first-child p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-body);
}

/* 12. Responsive Design (Media Queries)
------------------------------------------------*/
@media (max-width: 1024px) {

    .main-nav,
    .header-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .about-wrapper,
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin: 0 auto;
        max-width: 500px;
    }

    .process-timeline::after {
        left: 31px;
    }

    .process-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .process-item.left,
    .process-item.right {
        left: 0;
    }

    .process-item::after {
        left: 15px;
    }

    .process-item.right::after {
        left: 15px;
        /* was -12.5px */
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        margin-left: -20px;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info .section-header {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-form .form-row {
        flex-direction: column;
    }

    .calculator-wrapper {
        padding: 40px;
    }

    .calculator-form .form-row {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-quote {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .calculator-wrapper {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .process-content {
        padding: 15px;
    }

    .process-item {
        padding-left: 60px;
        padding-right: 10px;
    }
}