/* 
 * AC Design Group - Digital Marketing Agency
 * Modern and responsive website styles
 */

/* ===== Base Styles ===== */
:root {
    /* Primary Colors - Based on Logo */
    --primary: #2b4a9b;
    --primary-light: #4a6cc8;
    --primary-dark: #1c346e;
    --secondary: #4d9fd1;
    --secondary-light: #7bbde5;
    --secondary-dark: #2a7fb0;

    /* Neutral Colors */
    --dark: #222832;
    --gray-dark: #515867;
    --gray: #757f95;
    --gray-light: #afb3be;
    --light: #f8f9fc;

    /* Utility Colors */
    --success: #43a047;
    --warning: #ff9800;
    --error: #e53935;
    --info: #2196f3;

    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-rounded: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

ul,
ol {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font-family: var(--body-font);
    font-size: 1rem;
}

button,
input[type="submit"] {
    cursor: pointer;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    text-align: center;
}

.preloader-logo {
    max-width: 150px;
    margin: 0 auto var(--space-md);
}

.spinner {
    width: 50px;
    height: 50px;
    animation: rotate 2s linear infinite;
}

.path {
    stroke: var(--primary);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-rounded);
    background-color: var(--primary);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-rounded);
    border: 1px solid var(--primary);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    padding: var(--space-sm) 0;
    transition: all var(--transition);
}

.header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: var(--space-xs) 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    max-width: 180px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: var(--space-sm);
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - var(--space-md));
}

.nav-link.active {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: capitalize;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn i {
    margin-left: var(--space-xs);
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    margin-left: var(--space-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-light {
    background-color: white;
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--light);
    box-shadow: var(--shadow);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    margin-left: var(--space-sm);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: all var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: white;
    z-index: 99;
    padding-top: 80px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: var(--space-sm) var(--space-sm);
    border-bottom: 1px solid var(--gray-light);
    color: var(--dark);
    font-weight: 500;
}

.mobile-nav-link.active {
    color: var(--primary);
    background-color: rgba(75, 106, 200, 0.1);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Hero Section ===== */
.hero {
    padding: calc(var(--space-xl) + 50px) 0 var(--space-lg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.hero-title span {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: var(--space-md);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.hero-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background-color: var(--secondary);
    z-index: 1;
}

.hero-bg-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: var(--radius-rounded);
    background-color: rgba(75, 106, 200, 0.05);
    z-index: -1;
    transform: rotate(45deg);
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-lg);
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: var(--space-md);
}

.stat-item {
    text-align: center;
    padding: 0 var(--space-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
}

/* ===== Section Styles ===== */
section {
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.section-subtitle {
    display: inline-block;
    background-color: rgba(75, 106, 200, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-description {
    color: var(--gray);
    font-size: 1.1rem;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: var(--space-md);
}

.service-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
    transition: height var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(75, 106, 200, 0.1);
    color: var(--primary);
    font-size: 1.8rem;
    border-radius: var(--radius-rounded);
    margin-bottom: var(--space-sm);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: var(--space-md);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
}

.service-link i {
    margin-left: var(--space-xs);
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== About Section ===== */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-rounded);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.about-experience .count {
    font-size: 2.5rem;
    line-height: 1;
}

.about-text {
    flex: 1;
}

.about-features {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.feature-icon {
    margin-right: var(--space-sm);
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: rgba(75, 106, 200, 0.1);
    color: var(--primary);
    border-radius: var(--radius-rounded);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-text p {
    margin-bottom: 0;
    color: var(--gray);
}

/* ===== Work Section ===== */
.work {
    background-color: var(--light);
}

.work-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.filter-btn {
    background-color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    color: var(--gray-dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    color: var(--primary);
    box-shadow: var(--shadow);
}

.filter-btn.active {
    background-color: var(--primary);
    color: white;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-md);
}

.work-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.work-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.work-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition);
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-category {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    margin-bottom: var(--space-xs);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-slow);
}

.work-title {
    color: white;
    margin-bottom: var(--space-sm);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-slow);
}

.work-link {
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-slow);
}

.work-link i {
    margin-left: var(--space-xs);
    transition: transform var(--transition-fast);
}

.work-link:hover {
    color: var(--secondary-light);
}

.work-link:hover i {
    transform: translateX(5px);
}

.work-item:hover .work-category,
.work-item:hover .work-title,
.work-item:hover .work-link {
    transform: translateY(0);
    opacity: 1;
}

.work-item:hover .work-title {
    transition-delay: 0.1s;
}

.work-item:hover .work-link {
    transition-delay: 0.2s;
}

.work-cta {
    margin-top: var(--space-lg);
    text-align: center;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide:first-child {
    display: block;
}

.testimonial-content {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial-rating {
    margin-bottom: var(--space-sm);
}

.testimonial-rating i {
    color: #FFD700;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-rounded);
    overflow: hidden;
    margin-right: var(--space-sm);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-md);
}

.testimonial-prev,
.testimonial-next {
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-rounded);
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    margin: 0 var(--space-sm);
    transition: all var(--transition-fast);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary);
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-rounded);
    background-color: var(--gray-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--primary);
    width: 25px;
    border-radius: 5px;
}

/* ===== CTA Section ===== */
.cta {
    background-color: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
    padding: var(--space-lg) 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.cta-shape {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: var(--radius-rounded);
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

/* ===== Page Header ===== */
.page-header {
    padding: calc(var(--space-xl) + 20px) 0 var(--space-lg);
    background-color: rgba(75, 106, 200, 0.05);
    position: relative;
    overflow: hidden;
}

.page-title {
    margin-bottom: var(--space-sm);
}

.breadcrumb {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 var(--space-xs);
    color: var(--gray);
}

.breadcrumb li:last-child {
    color: var(--primary);
}

.page-header-shape {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    border-radius: var(--radius-rounded);
    background-color: rgba(75, 106, 200, 0.1);
    z-index: 0;
}

/* ===== Contact Page ===== */
.contact-section {
    padding-bottom: var(--space-md);
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.contact-wrapper {
    display: flex;
    gap: var(--space-lg);
}

.contact-info {
    flex: 1;
}

.contact-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    margin-bottom: var(--space-md);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(75, 106, 200, 0.1);
    color: var(--primary);
    border-radius: var(--radius-rounded);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--space-sm);
}

.contact-card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.2rem;
}

.contact-card p,
.contact-card a {
    margin-bottom: 0;
    color: var(--gray);
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-social {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-social h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(75, 106, 200, 0.1);
    color: var(--primary);
    border-radius: var(--radius-rounded);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
}

.contact-form-wrapper {
    flex: 1.5;
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.form-group {
    flex: 1 1 calc(50% - var(--space-sm));
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background-color: var(--light);
    color: var(--gray-dark);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(75, 106, 200, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.map-section {
    padding-top: 0;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== Legal Pages ===== */
.privacy-content,
.terms-content,
.disclaimer-content {
    background-color: white;
}

.content-wrapper {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
}

.content-wrapper h2 {
    margin-top: var(--space-md);
    font-size: 1.8rem;
}

.content-wrapper h3 {
    font-size: 1.4rem;
}

.content-wrapper ul {
    margin-bottom: var(--space-md);
}

.content-wrapper li {
    margin-bottom: var(--space-xs);
}

.last-updated {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.last-updated p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--gray);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-top {
    display: grid;
    padding-bottom: 15px;
    grid-template-columns: repeat(4,1fr);
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    padding: 5px;
    max-width: 180px;
    border-radius: 5px;
    background-color: white;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
    flex: 2;
    display: flex;
    justify-content: space-between;
}

.footer-heading {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-xs);
}

.footer-contact li {
    display: flex;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-contact i {
    color: var(--primary-light);
    margin-right: var(--space-xs);
    width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: var(--space-xs);
}

.footer-social .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-social .social-link:hover {
    background-color: var(--primary);
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: var(--space-sm);
}

.modal-btn {
    margin-top: var(--space-sm);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-rounded);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.count {
    display: inline-block;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-experience {
        width: 100px;
        height: 100px;
        right: -20px;
        bottom: -20px;
    }

    .about-experience .count {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 95%;
    }

    .hide {

        display: none;

    }

    section {
        padding: var(--space-lg) 0;
    }

    .footer-top {

        grid-template-columns: repeat(3,1fr);

    }

    .nav-list {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text,
    .hero-image {
        flex: 1 1 100%;
    }

    .hero-image {
        margin-top: var(--space-md);
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 45%;
        margin-bottom: var(--space-sm);
    }

    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        flex: 1 1 100%;
    }

    .about-text {
        margin-top: var(--space-lg);
    }

    .work-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .contact-wrapper {
        flex-direction: column;
    }


    .footer-nav {
        flex-wrap: wrap;
    }

    .footer-col {
        flex: 1 1 30%;
        margin-bottom: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 90%;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .btn-primary {

        margin: 0;

    }

    .hero-shape {

        left: 0;

    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {

        grid-template-columns: repeat(2,1fr);

    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .work-filter {
        overflow-x: auto;
        padding-bottom: var(--space-xs);
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    .last-updated {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .form-group {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 85%;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .hero {
        padding-top: calc(var(--space-lg) + 50px);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-top {

        grid-template-columns: repeat(1,1fr);

    }

    .about-experience {
        width: 80px;
        height: 80px;
        right: 0;
        bottom: -15px;
    }

    .about-experience {
        font-size: .8rem;
    }

    .content-wrapper {
        padding: var(--space-md);
    }

    .testimonial-content {
        padding: var(--space-sm);
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .author-image {
        width: 50px;
        height: 50px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .btn {
        padding: 0.7rem 1.5rem;
    }
}

/* ===== Print Styles ===== */
@media print {

    .header,
    .footer,
    .back-to-top,
    .mobile-menu,
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        background-color: white;
        color: black;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .content-wrapper {
        box-shadow: none;
        padding: 0;
    }

    .page-header {
        padding: 1rem 0;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    img {
        max-width: 500px;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
}