/* =====================================================
   CVPro.lk
   style.css
   Part 1
   Variables • Reset • Base Styles
   Header • Navigation • Hero Section
===================================================== */

/* =========================
   CSS VARIABLES
========================= */

:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --secondary: #0f172a;

    --accent: #06b6d4;

    --success: #10b981;

    --white: #ffffff;

    --background: #f8fafc;

    --surface: #ffffff;

    --text: #1e293b;

    --text-light: #64748b;

    --border: #e2e8f0;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);

    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);

    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;

    --radius-md: 16px;

    --radius-lg: 24px;

    --transition: all 0.3s ease;

    --container-width: 1200px;
}

/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Poppins', sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.7;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
}

/* =========================
   GLOBAL CLASSES
========================= */

.container {

    width: 90%;

    max-width: var(--container-width);

    margin: 0 auto;
}

.section {

    padding: 100px 0;
}

.section-header {

    text-align: center;

    margin-bottom: 60px;
}

.section-tag {

    display: inline-block;

    padding: 8px 18px;

    background: rgba(37, 99, 235, 0.1);

    color: var(--primary);

    border-radius: 999px;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 16px;
}

.section-header h2 {

    font-size: clamp(2rem, 5vw, 3rem);

    font-weight: 700;

    margin-bottom: 15px;

    color: var(--secondary);
}

.section-header p {

    max-width: 700px;

    margin: 0 auto;

    color: var(--text-light);
}

/* =========================
   BUTTONS
========================= */

.btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 15px 28px;

    background: var(--primary);

    color: var(--white);

    border-radius: 12px;

    font-weight: 600;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {

    background: var(--primary-dark);

    transform: translateY(-3px);
}

.btn-secondary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 28px;

    border: 2px solid var(--border);

    color: var(--text);

    border-radius: 12px;

    font-weight: 600;

    transition: var(--transition);
}

.btn-secondary:hover {

    border-color: var(--primary);

    color: var(--primary);

    transform: translateY(-3px);
}

/* =========================
   HEADER
========================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 80px;
}

.logo {

    font-size: 1.8rem;

    font-weight: 800;

    color: var(--secondary);
}

.logo span {

    color: var(--primary);
}

.nav-links {

    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-links a {

    color: var(--text);

    font-weight: 500;

    transition: var(--transition);
}

.nav-links a:hover {

    color: var(--primary);
}

.nav-btn {

    padding: 12px 22px;

    background: var(--primary);

    color: var(--white);

    border-radius: 10px;

    font-weight: 600;

    transition: var(--transition);
}

.nav-btn:hover {

    background: var(--primary-dark);
}

.mobile-menu-btn {

    display: none;

    background: transparent;

    border: none;

    font-size: 1.8rem;

    cursor: pointer;

    color: var(--secondary);
}

/* =========================
   HERO SECTION
========================= */

.hero {

    position: relative;

    padding: 100px 0 120px;

    background:
        radial-gradient(circle at top right,
            rgba(37, 99, 235, 0.12),
            transparent 40%),
        radial-gradient(circle at left center,
            rgba(6, 182, 212, 0.08),
            transparent 35%);
}

.hero-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;
}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(37, 99, 235, 0.1);

    color: var(--primary);

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 24px;
}

.hero-text h1 {

    font-size: clamp(2.8rem, 6vw, 4.6rem);

    line-height: 1.15;

    font-weight: 800;

    color: var(--secondary);

    margin-bottom: 24px;
}

.hero-text p {

    font-size: 1.1rem;

    color: var(--text-light);

    margin-bottom: 35px;

    max-width: 600px;
}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 16px;
}

/* =========================
   HERO CARD
========================= */

.hero-card {

    display: flex;

    justify-content: center;

    align-items: center;
}

.floating-card {

    width: 100%;

    max-width: 450px;

    background: var(--surface);

    border-radius: var(--radius-lg);

    padding: 40px;

    box-shadow: var(--shadow-lg);

    position: relative;

    animation: floatCard 4s ease-in-out infinite;
}

.floating-card::before {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    padding: 2px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask-composite: exclude;

    pointer-events: none;
}

.floating-card h3 {

    font-size: 1.5rem;

    color: var(--secondary);

    margin-bottom: 25px;
}

.floating-card ul {

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.floating-card li {

    font-size: 1rem;

    font-weight: 500;

    color: var(--text);
}

/* =========================
   HERO ANIMATION
========================= */

@keyframes floatCard {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}



/* =====================================================
   CVPro.lk
   style.css
   Part 2
   Services • Why Choose Us
   Process Timeline • Portfolio Preview
===================================================== */

/* =========================
   SERVICES SECTION
========================= */

.services {
    background: var(--white);
}

.services-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 30px;
}

.service-card {

    background: var(--surface);

    padding: 35px;

    border-radius: var(--radius-md);

    border: 1px solid var(--border);

    transition: var(--transition);

    position: relative;

    overflow: hidden;

    box-shadow: var(--shadow-sm);
}

.service-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--accent)
    );

    transform: scaleX(0);

    transform-origin: left;

    transition: var(--transition);
}

.service-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {

    transform: scaleX(1);
}

.service-icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 2rem;

    background: rgba(37, 99, 235, 0.08);

    border-radius: 16px;

    margin-bottom: 24px;
}

.service-card h3 {

    font-size: 1.3rem;

    font-weight: 700;

    color: var(--secondary);

    margin-bottom: 15px;
}

.service-card p {

    color: var(--text-light);

    line-height: 1.8;
}

/* =========================
   WHY CHOOSE US
========================= */

.why-us {

    background: linear-gradient(
        180deg,
        #f8fafc,
        #ffffff
    );
}

.benefits-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 24px;
}

.benefit-card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 28px;

    text-align: center;

    font-size: 1.05rem;

    font-weight: 600;

    color: var(--secondary);

    transition: var(--transition);

    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {

    transform: translateY(-8px);

    background: var(--primary);

    color: var(--white);

    border-color: var(--primary);

    box-shadow: var(--shadow-lg);
}

/* =========================
   PROCESS SECTION
========================= */

.process {

    background: var(--white);
}

.timeline {

    position: relative;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;

    margin-top: 20px;
}

.timeline::before {

    content: "";

    position: absolute;

    top: 35px;

    left: 10%;

    width: 80%;

    height: 3px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--accent)
    );

    z-index: 0;
}

.timeline-item {

    position: relative;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 30px 20px;

    text-align: center;

    z-index: 1;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);
}

.timeline-item:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-lg);
}

.timeline-item span {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );

    color: var(--white);

    font-size: 1.4rem;

    font-weight: 700;
}

.timeline-item h3 {

    font-size: 1rem;

    font-weight: 600;

    color: var(--secondary);

    line-height: 1.5;
}

/* =========================
   PORTFOLIO PREVIEW
========================= */

.portfolio {

    background: linear-gradient(
        180deg,
        #ffffff,
        #f8fafc
    );
}

.portfolio-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;
}

.portfolio-card {

    position: relative;

    min-height: 260px;

    padding: 35px;

    border-radius: var(--radius-lg);

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e293b
        );

    color: var(--white);

    transition: var(--transition);

    box-shadow: var(--shadow-md);
}

.portfolio-card::before {

    content: "";

    position: absolute;

    top: -60px;

    right: -60px;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);
}

.portfolio-card::after {

    content: "";

    position: absolute;

    bottom: -50px;

    left: -50px;

    width: 150px;

    height: 150px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.04);
}

.portfolio-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);
}

.portfolio-card h3 {

    position: relative;

    z-index: 2;

    font-size: 1.4rem;

    margin-bottom: 15px;

    font-weight: 700;
}

.portfolio-card p {

    position: relative;

    z-index: 2;

    color: rgba(255, 255, 255, 0.85);

    line-height: 1.8;
}

/* =========================
   SECTION REVEAL ANIMATION
========================= */

.fade-in {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.fade-in.show {

    opacity: 1;

    transform: translateY(0);
}

/* =====================================================
   CVPro.lk
   style.css
   Part 3
   Testimonials • Contact • Footer
===================================================== */

/* =========================
   TESTIMONIALS SECTION
========================= */

.testimonials {

    background: var(--white);
}

.testimonial-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;
}

.testimonial-card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 35px;

    position: relative;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);
}

.testimonial-card::before {

    content: "❝";

    position: absolute;

    top: 20px;

    right: 25px;

    font-size: 4rem;

    line-height: 1;

    color: rgba(37, 99, 235, 0.12);

    font-weight: 700;
}

.testimonial-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

    border-color: rgba(37, 99, 235, 0.25);
}

.testimonial-card p {

    color: var(--text);

    line-height: 1.9;

    margin-bottom: 20px;

    position: relative;

    z-index: 2;
}

.testimonial-card h4 {

    color: var(--primary);

    font-size: 0.95rem;

    font-weight: 600;
}

/* =========================
   CONTACT SECTION
========================= */

.contact {

    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.05),
            rgba(6, 182, 212, 0.05)
        );
}

.contact-box {

    background: var(--surface);

    border-radius: var(--radius-lg);

    padding: 50px;

    display: grid;

    grid-template-columns: 1.3fr 1fr;

    gap: 40px;

    align-items: center;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-md);
}

.contact-box h2 {

    font-size: clamp(2rem, 4vw, 3rem);

    color: var(--secondary);

    margin-bottom: 15px;

    line-height: 1.2;
}

.contact-box > div:first-child p {

    color: var(--text-light);

    font-size: 1.05rem;
}

.contact-details {

    display: flex;

    flex-direction: column;

    gap: 16px;
}

.contact-details p {

    padding: 16px 18px;

    background: var(--background);

    border-radius: 12px;

    border: 1px solid var(--border);

    color: var(--text);

    transition: var(--transition);
}

.contact-details p:hover {

    transform: translateX(5px);

    border-color: rgba(37, 99, 235, 0.3);
}

.contact-details strong {

    color: var(--primary);
}

/* =========================
   FOOTER
========================= */

.footer {

    background: var(--secondary);

    color: var(--white);

    padding-top: 70px;
}

.footer-content {

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 50px;

    padding-bottom: 40px;
}

.footer-content h3 {

    font-size: 1.8rem;

    margin-bottom: 15px;
}

.footer-content p {

    color: rgba(255, 255, 255, 0.75);

    max-width: 450px;

    line-height: 1.8;
}

.footer-content > div:last-child {

    display: flex;

    flex-direction: column;

    gap: 14px;
}

.footer-content a {

    color: rgba(255, 255, 255, 0.85);

    transition: var(--transition);

    width: fit-content;
}

.footer-content a:hover {

    color: var(--white);

    transform: translateX(5px);
}

.footer-bottom {

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    padding: 25px 0;

    text-align: center;
}

.footer-bottom p {

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.95rem;
}

/* =========================
   CONTACT CTA EFFECT
========================= */

.contact-box {

    position: relative;

    overflow: hidden;
}

.contact-box::before {

    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    top: -120px;

    right: -120px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.05);

    pointer-events: none;
}

.contact-box::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    bottom: -90px;

    left: -90px;

    border-radius: 50%;

    background: rgba(6, 182, 212, 0.05);

    pointer-events: none;
}

/* =========================
   HOVER TRANSITIONS
========================= */

.service-card,
.benefit-card,
.timeline-item,
.portfolio-card,
.testimonial-card,
.contact-details p {

    will-change: transform;
}


/* =====================================================
   CVPro.lk
   style.css
   Part 4
   Client Form Page Styles
===================================================== */

/* =========================
   FORM PAGE HEADER
========================= */

.form-header {

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(10px);
}

/* =========================
   FORM HERO
========================= */

.form-hero {

    padding: 90px 0 60px;

    background:
        radial-gradient(
            circle at top right,
            rgba(37, 99, 235, 0.12),
            transparent 40%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(6, 182, 212, 0.08),
            transparent 35%
        );
}

.form-hero-content {

    text-align: center;

    max-width: 850px;

    margin: 0 auto;
}

.form-hero-content h1 {

    font-size: clamp(2.5rem, 5vw, 4rem);

    color: var(--secondary);

    margin-bottom: 20px;

    line-height: 1.15;
}

.form-hero-content p {

    color: var(--text-light);

    font-size: 1.1rem;
}

/* =========================
   PAYMENT NOTICE
========================= */

.notice-section {

    padding-bottom: 30px;
}

.payment-notice {

    background: #fff7ed;

    border: 1px solid #fdba74;

    border-left: 6px solid #f97316;

    padding: 28px;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.payment-notice h3 {

    color: #c2410c;

    margin-bottom: 12px;

    font-size: 1.25rem;
}

.payment-notice p {

    color: #7c2d12;

    margin-bottom: 8px;
}

.payment-notice p:last-child {

    margin-bottom: 0;
}

/* =========================
   FORM SECTION
========================= */

.form-section {

    padding: 40px 0 100px;
}

.client-form {

    display: flex;

    flex-direction: column;

    gap: 35px;
}

/* =========================
   FORM CARDS
========================= */

.form-card {

    background: var(--surface);

    border-radius: var(--radius-lg);

    padding: 35px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.form-card:hover {

    box-shadow: var(--shadow-md);
}

.form-card h2 {

    color: var(--secondary);

    margin-bottom: 25px;

    font-size: 1.6rem;
}

/* =========================
   FORM GRID
========================= */

.form-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

/* =========================
   FORM GROUP
========================= */

.form-group {

    display: flex;

    flex-direction: column;

    margin-bottom: 22px;
}

.form-group:last-child {

    margin-bottom: 0;
}

.form-group label {

    font-weight: 600;

    color: var(--secondary);

    margin-bottom: 8px;
}

.form-group small {

    margin-top: 8px;

    color: var(--text-light);

    font-size: 0.9rem;
}

/* =========================
   INPUTS
========================= */

.form-group input,
.form-group textarea {

    width: 100%;

    padding: 14px 16px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #ffffff;

    color: var(--text);

    font-size: 0.98rem;

    transition: var(--transition);

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {

    outline: none;

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-group textarea {

    min-height: 120px;
}

/* =========================
   CHECKLIST
========================= */

.checklist {

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.checkbox-item {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 16px;

    background: var(--background);

    border: 1px solid var(--border);

    border-radius: 12px;

    cursor: pointer;

    transition: var(--transition);

    font-weight: 500;
}

.checkbox-item:hover {

    border-color: var(--primary);

    transform: translateX(4px);
}

.checkbox-item input[type="checkbox"] {

    width: 20px;

    height: 20px;

    accent-color: var(--primary);
}

/* =========================
   SUBMIT AREA
========================= */

.submit-area {

    text-align: center;

    padding-top: 10px;
}

.submit-area p {

    margin-top: 18px;

    color: var(--text-light);

    max-width: 650px;

    margin-left: auto;

    margin-right: auto;
}

/* =========================
   SUBMIT BUTTON
========================= */

.submit-btn {

    border: none;

    cursor: pointer;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 260px;

    padding: 18px 36px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );

    color: var(--white);

    border-radius: 14px;

    font-size: 1rem;

    font-weight: 700;

    transition: var(--transition);

    box-shadow: var(--shadow-md);
}

.submit-btn:hover {

    transform: translateY(-4px);

    box-shadow: var(--shadow-lg);
}

.submit-btn:active {

    transform: translateY(0);
}

/* =========================
   REQUIRED FIELD VISUAL
========================= */

.form-group label::after {

    content: "";
}

.form-group label[for="fullname"]::after,
.form-group label[for="email"]::after,
.form-group label[for="whatsapp"]::after,
.form-group label[for="secretcode"]::after {

    content: " *";

    color: #ef4444;
}

/* =====================================================
   CVPro.lk
   style.css
   Part 5
   Success Page • Animations
   Responsive Design • Mobile Menu
===================================================== */

/* =========================
   SUCCESS PAGE
========================= */

.success-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 80px 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(37, 99, 235, 0.12),
            transparent 40%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(6, 182, 212, 0.08),
            transparent 35%
        );
}

.success-card {

    max-width: 850px;

    margin: 0 auto;

    background: var(--surface);

    border-radius: var(--radius-lg);

    padding: 60px;

    text-align: center;

    border: 1px solid var(--border);

    box-shadow: var(--shadow-lg);
}

.success-icon {

    width: 90px;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background: var(--success);

    color: var(--white);

    font-size: 2.2rem;

    font-weight: 800;
}

.success-card h1 {

    font-size: clamp(2.5rem, 5vw, 4rem);

    color: var(--secondary);

    margin: 15px 0 20px;
}

.success-card p {

    color: var(--text-light);

    margin-bottom: 15px;
}

.success-info {

    margin: 35px 0;

    text-align: left;

    background: var(--background);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 25px;
}

.info-item {

    margin-bottom: 15px;

    color: var(--secondary);

    font-size: 1.1rem;
}

.info-step {

    padding: 12px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text);
}

.info-step:last-child {

    border-bottom: none;
}

.success-actions {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 30px;
}

/* =========================
   GLOBAL ANIMATIONS
========================= */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(30px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes fadeIn {

    from {

        opacity: 0;
    }

    to {

        opacity: 1;
    }
}

.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {

    opacity: 1;

    transform: translateY(0);
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu-btn {

    display: none;
}

/* =========================
   LARGE TABLETS
========================= */

@media (max-width: 1024px) {

    .hero-content {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-text p {

        margin-left: auto;

        margin-right: auto;
    }

    .hero-buttons {

        justify-content: center;
    }

    .timeline {

        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {

        display: none;
    }

    .contact-box {

        grid-template-columns: 1fr;
    }

    .footer-content {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-content p {

        margin: 0 auto;
    }

    .footer-content > div:last-child {

        align-items: center;
    }
}

/* =========================
   TABLETS
========================= */

@media (max-width: 768px) {

    .section {

        padding: 80px 0;
    }

    .navbar {

        position: relative;
    }

    .mobile-menu-btn {

        display: block;
    }

    .nav-links {

        position: absolute;

        top: 80px;

        left: 0;

        width: 100%;

        background: var(--white);

        flex-direction: column;

        align-items: center;

        gap: 20px;

        padding: 30px;

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow-md);

        display: none;
    }

    .nav-links.active {

        display: flex;
    }

    .nav-btn {

        display: none;
    }

    .hero {

        padding: 80px 0 100px;
    }

    .hero-text h1 {

        font-size: 2.8rem;
    }

    .timeline {

        grid-template-columns: 1fr;
    }

    .portfolio-grid,
    .services-grid,
    .testimonial-grid,
    .benefits-grid {

        grid-template-columns: 1fr;
    }

    .form-grid {

        grid-template-columns: 1fr;
    }

    .form-card {

        padding: 25px;
    }

    .success-card {

        padding: 40px 25px;
    }

    .contact-box {

        padding: 35px 25px;
    }
}

/* =========================
   MOBILE DEVICES
========================= */

@media (max-width: 576px) {

    .container {

        width: 92%;
    }

    .hero-text h1 {

        font-size: 2.2rem;
    }

    .section-header h2 {

        font-size: 2rem;
    }

    .floating-card {

        padding: 28px;
    }

    .service-card,
    .portfolio-card,
    .testimonial-card {

        padding: 25px;
    }

    .submit-btn {

        width: 100%;

        min-width: auto;
    }

    .success-actions {

        flex-direction: column;
    }

    .success-actions a {

        width: 100%;
    }

    .contact-details p {

        font-size: 0.95rem;
    }

    .footer {

        text-align: center;
    }
}

/* =========================
   SMALL MOBILE DEVICES
========================= */

@media (max-width: 380px) {

    .hero-text h1 {

        font-size: 1.9rem;
    }

    .form-hero-content h1 {

        font-size: 2rem;
    }

    .success-card h1 {

        font-size: 2.2rem;
    }
}

/* =========================
   SMOOTH ELEMENT TRANSITIONS
========================= */

a,
button,
input,
textarea,
.service-card,
.portfolio-card,
.benefit-card,
.timeline-item,
.testimonial-card {

    transition: var(--transition);
}

/* =========================
   SELECTION COLOR
========================= */

::selection {

    background: var(--primary);

    color: var(--white);
}

/* =========================
   CUSTOM SCROLLBAR
========================= */

::-webkit-scrollbar {

    width: 10px;
}

::-webkit-scrollbar-track {

    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {

    background: var(--primary);

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {

    background: var(--primary-dark);
}

/* =====================================================
   END OF CVPro.LK STYLESHEET
===================================================== */