/*
================================================
TABLE OF CONTENTS
================================================
1.  RESET & GLOBAL STYLES
    - CSS Variables (Color Palette)
    - Basic Reset
    - Typography & Body
    - Container & Utility Classes
2.  HEADER & NAVIGATION
    - Header Layout
    - Logo & Navigation List
    - Header Actions & Mobile Toggle
    - Sticky Header Styles
    - Mobile Navigation Menu
3.  HERO SECTION
    - Hero Layout & Content
    - Animated Background Shapes
    - Button Styling
4.  CLIENT LOGOS SECTION
    - Layout & Title
    - Infinite Scroll Animation
5.  GENERAL SECTION STYLING
    - Section Padding
    - Section Header (Subtitle, Title, Paragraph)
6.  SERVICES SECTION
    - Services Grid Layout
    - Service Card Styling & Hover Effects
7.  ABOUT SECTION
    - Two-Column Layout
    - Image Styling with Overlay
    - Text Content & Feature List
8.  STATS COUNTER SECTION
    - Grid Layout
    - Stat Item Styling
9.  PORTFOLIO SECTION
    - Grid Layout
    - Portfolio Item Styling
    - Hover Overlay Effect
10. TESTIMONIALS SECTION
    - Slider Wrapper & Layout
    - Testimonial Card Styling
11. FAQ SECTION
    - Accordion Layout
    - FAQ Item, Question, and Answer Styling
12. CTA (CALL TO ACTION) SECTION
    - Layout & Content Styling
13. FOOTER
    - Footer Layout (Top & Bottom)
    - Footer Columns (About, Links, Contact)
    - Social Media Icons
    - Footer Background Shapes
14. PAGE-SPECIFIC STYLES
    - Page Header (for inner pages)
    - Breadcrumbs
    - Content Wrapper (for legal pages)
    - Contact Page Layout & Form
15. INTERACTIVE ELEMENTS
    - Buttons (Primary, Secondary)
    - Form Elements (Input, Textarea, Select)
    - Popup / Modal
    - Scroll to Top Button
16. ANIMATIONS & TRANSITIONS
    - Keyframe Animations (Shapes, Fade In, etc.)
    - Scroll-triggered Animation Classes
17. RESPONSIVE DESIGN (MEDIA QUERIES)
    - Large Desktops (1200px and up)
    - Tablets (up to 992px)
    - Mobile Devices (up to 768px)
    - Small Mobile (up to 480px)
================================================
*/

/* 1. RESET & GLOBAL STYLES
------------------------------------------------*/
:root {
    --primary-color: #F9D74C;
    /* Yellow from logo */
    --primary-hover-color: #f8cd29;
    --secondary-color: #1E2D48;
    /* Dark Blue */
    --dark-bg-color: #0A192F;
    /* Very Dark Blue */
    --light-bg-color: #112240;
    /* Lighter shade of dark blue */
    --text-color: #CCD6F6;
    /* Light grey/blue for text */
    --heading-color: #FFFFFF;
    /* White for headings */
    --light-grey-color: #8892b0;
    --border-color: rgba(204, 214, 246, 0.1);
    --shadow-color: rgba(2, 12, 27, 0.7);
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--dark-bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-speed);
}

a:hover {
    color: var(--primary-hover-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-grey-color);
}


/* 2. HEADER & NAVIGATION
------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed), padding var(--transition-speed);
    padding: 15px 0;
}

.header.scrolled {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 10px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .logo img {
    width: 150px;
    transition: transform var(--transition-speed);
}

.header .logo:hover img {
    transform: rotate(-10deg);
}

.header .logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.header .nav-list {
    display: flex;
    gap: 30px;
}

.header .nav-list a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.header .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.header .nav-list a:hover::after,
.header .nav-list a.active::after {
    width: 100%;
}

.header .nav-list a:hover,
.header .nav-list a.active {
    color: var(--heading-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--heading-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 3. HERO SECTION
------------------------------------------------*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background: var(--dark-bg-color);
}

.hero-content {
    max-width: 800px;
}

.hero .subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin-bottom: 2.5rem;
    color: var(--light-grey-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.hero-shapes .shape-3 {
    width: 50px;
    height: 50px;
    top: 25%;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 7s;
}

/* 4. CLIENT LOGOS SECTION
------------------------------------------------*/
.client-logos-section {
    padding: 60px 0;
    background-color: var(--light-bg-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.client-logos-title {
    text-align: center;
    font-weight: 500;
    color: var(--light-grey-color);
    margin-bottom: 30px;
}

.logos-slider {
    width: 100%;
    overflow: hidden;
}

.logos-track {
    display: flex;
    width: calc(150px * 12 + 40px * 12);
    /* width of item * number of items + gap * number of items */
    animation: scroll-logos 40s linear infinite;
    gap: 40px;
}

.logo-item {
    width: 150px;
    flex-shrink: 0;
}

.logo-item img {
    width: 100%;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.7;
    transition: var(--transition-speed);
}

.logo-item:hover img {
    filter: none;
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-150px * 6 - 40px * 6));
    }

    /* width * half_items + gap * half_items */
}


/* 5. GENERAL SECTION STYLING
------------------------------------------------*/
#services,
#about,
#portfolio,
#testimonials,
#faq,
.stats-section,
.cta-section {
    padding: 100px 0;
}


/* 6. SERVICES SECTION
------------------------------------------------*/
.services-section {
    background-color: var(--light-bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--dark-bg-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-grey-color);
    margin-bottom: 20px;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-color);
}

.learn-more i {
    margin-left: 5px;
    transition: transform var(--transition-speed);
}

.learn-more:hover i {
    transform: translateX(5px);
}


/* 7. ABOUT SECTION
------------------------------------------------*/
.about-section {
    background: var(--dark-bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
}

.about-image img {
    border-radius: var(--border-radius);
    width: 100%;
}

.about-image-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.2;
    border-radius: var(--border-radius);
    transition: opacity var(--transition-speed);
}

.about-image:hover .about-image-overlay {
    opacity: 0;
}

.about-text .subtitle {
    color: var(--primary-color);
    font-weight: 600;
}

.about-text p {
    color: var(--light-grey-color);
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.about-features li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    font-weight: 500;
}

.about-features li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}


/* 8. STATS COUNTER SECTION
------------------------------------------------*/
.stats-section {
    background-color: var(--light-bg-color);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: var(--light-grey-color);
    margin: 0;
}


/* 9. PORTFOLIO SECTION
------------------------------------------------*/
.portfolio-section {
    background-color: var(--dark-bg-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: var(--secondary-color);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
    filter: blur(2px);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95), rgba(10, 25, 47, 0.2));
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    transition: transform var(--transition-speed);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h4 {
    margin-bottom: 10px;
}

.portfolio-content p {
    margin-bottom: 20px;
    color: var(--text-color);
}


/* 10. TESTIMONIALS SECTION
------------------------------------------------*/
.testimonials-section {
    background-color: var(--light-bg-color);
    position: relative;
    overflow: hidden;
}

.testimonial-slider-wrapper {
    position: relative;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--dark-bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimonial-text {
    font-style: italic;
    color: var(--light-grey-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--light-grey-color);
}


/* 11. FAQ SECTION
------------------------------------------------*/
.faq-section {
    background: var(--dark-bg-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
}

.faq-question i {
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    color: var(--light-grey-color);
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
}

/* 12. CTA (CALL TO ACTION) SECTION
------------------------------------------------*/
.cta-section {
    background: var(--light-bg-color);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), linear-gradient(45deg, var(--secondary-color), var(--dark-bg-color));
    padding: 60px 40px;
    border-radius: var(--border-radius);
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
}

.cta-content p {
    color: var(--light-grey-color);
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-lg {
    font-size: 1.2rem;
    padding: 18px 40px;
}


/* 13. FOOTER
------------------------------------------------*/
.footer {
    background-color: var(--secondary-color);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 150px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading-color);
}

.footer-about p {
    color: var(--light-grey-color);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg-color);
    color: var(--text-color);
    transition: var(--transition-speed);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg-color);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-grey-color);
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '\f054';
    /* FontAwesome right arrow */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.7rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed);
}

.footer-links ul li a:hover {
    color: var(--heading-color);
    padding-left: 20px;
}

.footer-links ul li a:hover::before {
    transform: translateX(5px);
}

.footer-contact .contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--light-grey-color);
    align-items: flex-start;
}

.footer-contact .contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact .contact-info a {
    color: var(--light-grey-color);
}

.footer-contact .contact-info a:hover {
    color: var(--heading-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    color: var(--light-grey-color);
    font-size: 0.9rem;
}

.footer-shapes .footer-shape {
    position: absolute;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 30%;
}

.footer-shapes .shape-1 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -100px;
    transform: rotate(45deg);
}

.footer-shapes .shape-2 {
    width: 200px;
    height: 200px;
    top: 50px;
    left: -100px;
    transform: rotate(-30deg);
}

/* 14. PAGE-SPECIFIC STYLES
------------------------------------------------*/
/* Page Header for inner pages */
.page-header-section {
    padding: 160px 0 80px;
    text-align: center;
    background-color: var(--light-bg-color);
    position: relative;
    overflow: hidden;
}

.page-header-section h1 {
    font-size: 3rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--light-grey-color);
}

.breadcrumbs a {
    color: var(--text-color);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Content Wrapper for legal pages */
.page-content-section {
    padding: 100px 0;
    background-color: var(--dark-bg-color);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.content-wrapper h3 {
    margin-top: 1.5rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

.content-wrapper .last-updated {
    margin-top: 2rem;
    font-style: italic;
    color: var(--light-grey-color);
}

.contact-details-block {
    background-color: var(--light-bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}

/* Contact Page */
.contact-page-section {
    padding: 100px 0;
    background: var(--dark-bg-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--light-bg-color);
    padding: 50px;
    border-radius: var(--border-radius);
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--light-grey-color);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background-color: var(--dark-bg-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.method-details h4 {
    margin: 0;
    font-size: 1.1rem;
}

.method-details p,
.method-details a {
    margin: 0;
    color: var(--light-grey-color);
    font-size: 0.95rem;
}


/* 15. INTERACTIVE ELEMENTS
------------------------------------------------*/
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    color: var(--dark-bg-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(249, 215, 76, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg-color);
}

.btn-full {
    width: 100%;
}

/* Forms */
.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--heading-color);
    font-family: var(--font-family);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 215, 76, 0.2);
}

.contact-form ::placeholder {
    color: var(--light-grey-color);
    opacity: 0.7;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--light-bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-speed);
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.popup h3 {
    margin-bottom: 10px;
}

.popup p {
    color: var(--light-grey-color);
    margin-bottom: 30px;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--dark-bg-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-speed);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-5px);
}


/* 16. ANIMATIONS & TRANSITIONS
------------------------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(30px);
}


/* 17. RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------*/
/* Tablets */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--light-bg-color);
        box-shadow: -5px 0 15px var(--shadow-color);
        padding-top: 100px;
        transition: right 0.4s ease-in-out;
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .mobile-toggle .fa-times {
        display: none;
    }

    .nav.active~.header-actions .mobile-toggle .fa-bars {
        display: none;
    }

    .nav.active~.header-actions .mobile-toggle .fa-times {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 30px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    #services,
    #about,
    #portfolio,
    #testimonials,
    #faq,
    .stats-section,
    .cta-section {
        padding: 80px 0;
    }

    .page-header-section {
        padding: 140px 0 60px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-about p {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links ul li a {
        padding-left: 0;
    }

    .footer-links ul li a::before {
        display: none;
    }

    .footer-contact .contact-info li {
        justify-content: center;
        text-align: left;
    }

    .contact-wrapper {
        padding: 30px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .nav {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}