/* 
* Hamilton Marketings - Digital Marketing Website
* Main Stylesheet
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #F57C00;              /* Orange blocks */
    --primary-light: rgba(245, 124, 0, 0.1);
    --primary-dark: #BB4D00;

    --secondary-color: #2F2A28;            /* Charcoal used for text and L-shape */
    --secondary-light: rgba(47, 42, 40, 0.1);
    --secondary-dark: #1C1A19;

    --dark-color: #0f0f0f;
    --darker-color: #080808;
    --light-color: #ffffff;

    --gray-color: #a0a0a0;
    --gray-dark: #2a2a2a;
    --gray-light: #f0f0f0;

    --text-color: #2F2A28;
    --heading-color: #2F2A28;

    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --gradient: linear-gradient(90deg, var(--primary-color) 0%, #FFA726 100%);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.section-padding {
    padding: 100px 0;
}

/* ===== Custom Cursor ===== */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    opacity: 0;
    transition: transform 0.1s ease, opacity 0.3s ease;
}

body:hover .cursor,
body:hover .cursor-follower {
    opacity: 1;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    animation: rotate 2s linear infinite;
}

.logo-svg path {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: dash 2s linear forwards;
}

.loading-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 20px;
    letter-spacing: 3px;
    animation: fadeIn 1s ease forwards;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 240;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
}

.btn-light {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    width: 180px;
    transition: var(--transition);
}

.logo img {
    width: 100%;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item {
    margin-left: 35px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    margin-left: 20px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-color);
    z-index: 999;
    padding: 100px 40px 40px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    margin-bottom: 40px;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    color: var(--light-color);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-contact {
    margin-bottom: 40px;
}

.mobile-contact h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.mobile-contact p {
    color: var(--gray-color);
    margin-bottom: 10px;
}

.mobile-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.mobile-social {
    display: flex;
    gap: 15px;
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: var(--transition);
}

.mobile-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ===== Hero Section ===== */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    position: relative;
}

.stat .counter, .stat .plus, .stat .percent {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--gray-dark);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.2), rgba(69, 123, 157, 0.2));
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.floating-card .icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.floating-card .text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.floating-card .text p {
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

.card-1 {
    top: 20px;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20px;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.03), rgba(69, 123, 157, 0.03));
    top: -150px;
    right: 10%;
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.03), rgba(69, 123, 157, 0.03));
    bottom: -100px;
    left: 5%;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.03), rgba(69, 123, 157, 0.03));
    top: 30%;
    left: 30%;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-color);
}

.section-header .subtitle::before {
    left: -40px;
}

.section-header .subtitle::after {
    right: -40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--gray-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    height: 5px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: #fff;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== Work Section ===== */
.work {
    padding: 100px 0;
    position: relative;
}

.work-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid var(--gray-light);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.work-image {
    position: relative;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 18, 33, 0.1), rgba(15, 18, 33, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.work-info {
    transform: translateY(20px);
    transition: var(--transition);
}

.work-info h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.work-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.work-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.work-link:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-item:hover .work-info {
    transform: translateY(0);
}

.work-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content .subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.value {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.value-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.value-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-align: center;
    max-width: 80%;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    position: relative;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow: hidden;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
}

.testimonial-content {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-prev,
.testimonial-next {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: 600px;
}

/* .cta-255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: 600px;
} */

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-shapes .cta-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.cta-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    top: -150px;
    right: 10%;
}

.cta-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    left: 5%;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--darker-color);
    color: var(--text-color);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
}

.footer-logo p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-nav {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.contact-info li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-light);
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--gray-color);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-shapes .footer-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.footer-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.02);
    top: -150px;
    right: 10%;
}

.footer-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    bottom: -100px;
    left: 5%;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-5px);
}

/* ===== Page Header ===== */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(to right, var(--primary-color), #ff2e63);
    position: relative;
    overflow: hidden;
}

.page-header-content {
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-header-shapes .shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.page-header-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    top: -150px;
    right: 10%;
}

.page-header-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    left: 5%;
}

.page-header-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    top: 30%;
    left: 30%;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-details p {
    color: var(--gray-dark);
    margin-bottom: 0;
}

.contact-social {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.contact-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--box-shadow);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray-dark);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark-color);
    transition: var(--transition);
}

input:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===== Map Section ===== */
.map-section {
    height: 450px;
    position: relative;
}

.map-container {
    height: 100%;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Popup ===== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup:target {
    display: flex;
}

.popup-content {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--box-shadow);
    animation: popupShow 0.3s ease;
}

@keyframes popupShow {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

.popup-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--gray-dark);
    margin-bottom: 25px;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 100px 0;
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    color: var(--gray-dark);
    transition: var(--transition);
}

.sidebar-widget ul li a:hover, .sidebar-widget ul li a.active {
    color: var(--primary-color);
    padding-left: 5px;
}

.sidebar-widget p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.legal-content-main {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--box-shadow);
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.legal-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.legal-section p {
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-section ul li {
    color: var(--gray-dark);
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.last-updated {
    font-style: italic;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-top: 40px;
}

/* ===== Animations ===== */
.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: translateX(-100%);
    animation: revealText 1s ease forwards;
}

@keyframes revealText {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container,
    .about-wrapper,
    .contact-wrapper,
    .legal-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 50px;
    }
    
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
    }
    
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        margin-bottom: 30px;
    }
    
    .cta-content p {
        margin: 0 auto 20px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .legal-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-inner .nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat {
        flex: 0 0 calc(50% - 10px);
    }
    
    .services-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .testimonial {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 20px;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .legal-content-main {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
    
    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}