:root {
    --primary: #FF6B00;
    --secondary: #F7F2E7;
    --dark: #333333;
    --light: #ffffff;
    --text: #444444;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced touch targets for mobile */
button,
.cta-button,
.newsletter-button,
.menu-toggle,
.testimonial-dot {
    min-height: 20px;
    min-width: 20px;
    touch-action: manipulation;
}

/* Improved focus states for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Header/Navigation with Logo and Dropdown */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: var(--transition);
    background-color: transparent;
}

header.scrolled {
    background-color: var(--secondary);
    box-shadow: var(--shadow);
    padding: 15px 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 10001;
}

.logo-image {
    height: 200px !important;
    width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

header.scrolled .logo-image {
    height: 150px;
    width: 150px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
}

header.scrolled .logo {
    color: var(--primary);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle i {
    font-size: 24px;
    color: var(--light);
    transition: var(--transition);
}

header.scrolled .menu-toggle i {
    color: var(--dark);
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

/* Mobile menu overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-links {
    display: flex;
    list-style: none;
    transition: var(--transition);
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
}

header.scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.dropdown-menu a:after {
    display: none;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 80%;
}

.nav-links li > a:hover:after,
.nav-links li > a.active:after {
    width: 80%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Services Dropdown - Maximum specificity to override all other styles */
header .nav-links .dropdown {
    position: relative !important;
}

header .nav-links .dropdown-icon {
    margin-left: 5px !important;
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
}

header .nav-links .dropdown:hover .dropdown-icon {
    transform: rotate(180deg) !important;
}

header .nav-links .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: var(--light) !important;
    min-width: 250px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border-radius: 10px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 99999 !important;
    margin-top: 10px !important;
    pointer-events: auto !important;
}

header .nav-links .dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

header .nav-links .dropdown-menu a {
    display: block !important;
    padding: 15px 20px !important;
    color: var(--dark) !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

header .nav-links .dropdown-menu a:last-child {
    border-bottom: none !important;
    border-radius: 0 0 10px 10px !important;
}

header .nav-links .dropdown-menu a:first-child {
    border-radius: 10px 10px 0 0 !important;
}

header .nav-links .dropdown-menu a:hover {
    background: var(--primary) !important;
    color: var(--light) !important;
    padding-left: 25px !important;
}

header .nav-links .dropdown-menu a i {
    margin-right: 10px !important;
    width: 20px !important;
    text-align: center !important;
}

/* Fallback dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-icon {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--light);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-menu a:first-child {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: var(--light);
    padding-left: 25px;
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: var(--light);
}

.hero-headline {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-headline .line-one,
.hero-headline .line-two,
.hero-headline .line-break {
    display: inline;
}

.hero-headline span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: slideUp 0.5s forwards;
}

/* Stagger the animation for each letter */
.hero-headline span:nth-child(1) { animation-delay: 0.1s; }
.hero-headline span:nth-child(2) { animation-delay: 0.2s; }
.hero-headline span:nth-child(3) { animation-delay: 0.3s; }
.hero-headline span:nth-child(4) { animation-delay: 0.4s; }
.hero-headline span:nth-child(5) { animation-delay: 0.5s; }
.hero-headline span:nth-child(6) { animation-delay: 0.6s; }
.hero-headline span:nth-child(7) { animation-delay: 0.7s; }
.hero-headline span:nth-child(8) { animation-delay: 0.8s; }
.hero-headline span:nth-child(9) { animation-delay: 0.9s; }
.hero-headline span:nth-child(10) { animation-delay: 1.0s; }
.hero-headline span:nth-child(11) { animation-delay: 1.1s; }
.hero-headline span:nth-child(12) { animation-delay: 1.2s; }
.hero-headline span:nth-child(13) { animation-delay: 1.3s; }
.hero-headline span:nth-child(14) { animation-delay: 1.4s; }
.hero-headline span:nth-child(15) { animation-delay: 1.5s; }
.hero-headline span:nth-child(16) { animation-delay: 1.6s; }
.hero-headline span:nth-child(17) { animation-delay: 1.7s; }
.hero-headline span:nth-child(18) { animation-delay: 1.8s; }
.hero-headline span:nth-child(19) { animation-delay: 1.9s; }
.hero-headline span:nth-child(20) { animation-delay: 2.0s; }
.hero-headline span:nth-child(21) { animation-delay: 2.1s; }
.hero-headline span:nth-child(22) { animation-delay: 2.2s; }
.hero-headline span:nth-child(23) { animation-delay: 2.3s; }
.hero-headline span:nth-child(24) { animation-delay: 2.4s; }
.hero-headline span:nth-child(25) { animation-delay: 2.5s; }
.hero-headline span:nth-child(26) { animation-delay: 2.6s; }
.hero-headline span:nth-child(27) { animation-delay: 2.7s; }
.hero-headline span:nth-child(28) { animation-delay: 2.8s; }
.hero-headline span:nth-child(29) { animation-delay: 2.9s; }
.hero-headline span:nth-child(30) { animation-delay: 3.0s; }

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s forwards 3.5s;
    max-width: 700px;
    width: 100%;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-text {
    max-width: 700px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s forwards 4s;
}

/* CTA Section */
.cta-box {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 4.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-input {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

.cta-button {
    padding: 15px 30px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background: #e05d00;
}

/* Services Dropdown */
.dropdown {
    position: relative;
}

.dropdown-icon {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--light);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    pointer-events: none;
}

/* Keep dropdown open when hovering over the dropdown itself or the trigger */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-menu a:first-child {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: var(--light);
    padding-left: 25px;
}

.dropdown-menu i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Mobile responsive dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 15px;
        border-radius: 8px;
        min-width: auto;
        width: calc(100% - 30px);
    }
    
    .dropdown-menu a {
        padding: 12px 15px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 107, 0, 0.2);
        padding-left: 15px;
    }
}

.dropdown-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;
}

.dropdown-menu a:first-child {
    border-radius: 10px 10px 0 0;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: var(--light);
    padding-left: 30px;
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 20px;
}

/* Hero Section with Carousel */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: var(--light);
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-headline span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-subheadline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-text {
    max-width: 700px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
}

/* CTA Section */
.cta-box {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-input {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

.cta-button {
    padding: 15px 30px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background: #e05d00;
}

/* Video Circle Section */
.video-section {
    padding: 100px 5%;
    text-align: center;
    background: var(--secondary);
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.video-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.video-container-wrapper {
    position: relative;
    width: 700px;
    height: 700px;
    margin: 50px auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 10px rgba(255, 107, 0, 0.1),
        0 0 0 20px rgba(255, 107, 0, 0.05),
        0 20px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0);
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.video-section.animate-in .video-container {
    transform: scale(1);
    opacity: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Us Section */
.about-section {
    padding: 100px 5%;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.about-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 50px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 30px;
    background: var(--light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.about-section.animate-in .feature-card {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px) !important;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}



/* Services Section with Torn Paper Effect */
.services-section {
    position: relative;
    padding: 100px 5%;
    background: var(--secondary);
    text-align: center;
    overflow: hidden;
}

.torn-paper-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.paper-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    background-image:
        radial-gradient(circle at 20px 50px, #eee 2px, transparent 3px),
        radial-gradient(circle at 40px 80px, #e8e8e8 1px, transparent 2px);
    background-size: 100px 100px;
}

/* Torn Paper Effect - VERTICAL (left-to-right) */
.paper-top {
    clip-path: polygon(0 0, 0 100%, 45% 100%, 47% 95%, 45% 90%, 48% 85%, 46% 80%, 49% 75%, 47% 70%, 50% 65%, 48% 60%, 51% 55%, 49% 50%, 52% 45%, 50% 40%, 53% 35%, 51% 30%, 54% 25%, 52% 20%, 55% 15%, 53% 10%, 56% 5%, 54% 0, 100% 0);
    animation: tearLeft 2s ease-in-out forwards;
}

.paper-bottom {
    clip-path: polygon(46% 0, 44% 5%, 47% 10%, 45% 15%, 48% 20%, 46% 25%, 49% 30%, 47% 35%, 50% 40%, 48% 45%, 51% 50%, 49% 55%, 52% 60%, 50% 65%, 53% 70%, 51% 75%, 54% 80%, 52% 85%, 55% 90%, 53% 95%, 55% 100%, 100% 100%, 100% 0, 0 0);
    animation: tearRight 2s ease-in-out forwards;
}

@keyframes tearLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100vw);
        opacity: 0;
    }
}

@keyframes tearRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

.services-revealed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FF6B00;
    z-index: 1;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    animation: fadeInOverlay 1s ease-out 2.5s forwards;
}

.services-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    /* max-width: 800px; */
    width: 80%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background: var(--light);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

/* Testimonials Section with Carousel */
.testimonials-section {
    padding: 100px 5%;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.testimonials-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    background: var(--light);
    padding: 40px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 20px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Blog Section */
.blog-section {
    padding: 100px 5%;
    background: var(--secondary);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.blog-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-image-service {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.services-with-overlay .blog-image-service {
    width: 58%;
    height: 300px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.blog-content {
    padding: 20px;
    text-align: left;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.blog-excerpt {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Newsletter */
.newsletter-section {
    padding: 80px 5%;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.newsletter-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

.newsletter-button {
    padding: 15px 30px;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-button:hover {
    background: #e05d00;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: var(--shadow);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #fef3e6 0%, #ffffff 100%);
    padding: 80px 5% 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.app-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: var(--light);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-button:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #e05d00 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.app-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

footer.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.footer-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.footer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(255, 107, 0, 0.12) 0%, rgba(59, 130, 246, 0.08) 45%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.footer-card:hover::after {
    opacity: 1;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.footer-about {
    max-width: 300px;
    margin-top: 0px;
}

.footer-card.footer-about {
    max-width: none;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}
.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.footer-links a:hover {
    color: var(--primary);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 14px 28px rgba(255, 107, 0, 0.15);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text);
    min-width: 0;
}

.footer-contact-list li div {
    min-width: 0;
    flex: 1;
}

.footer-contact-list li div a,
.footer-contact-list li div span:not(.footer-contact-label) {
    word-break: break-word;
    overflow-wrap: break-word;
    display: block;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-app-text {
    color: var(--text);
    margin-top: 10px;
    line-height: 1.6;
}

.footer-card.footer-about .social-icons {
    margin-top: auto;
}

.footer-card.footer-apps .app-buttons {
    margin-top: auto;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 30px;
    border-top: none;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    color: var(--dark);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-divider {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    margin: 10px auto 30px;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0) 0%, rgba(255, 107, 0, 0.35) 50%, rgba(255, 107, 0, 0) 100%);
}

.footer-divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .video-container-wrapper {
        width: 400px;
        height: 400px;
    }

    .logo-image {
        height: 200px;
        width: 200px;
    }

    header.scrolled .logo-image {
        height: 120px;
        width: 120px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .hero-content {
        margin-top: 15px;
    }

    .hero-headline {
        font-size: 2.2rem;
        margin-bottom: 15px;
        margin-top: 20px;
        line-height: 1.2;
    }

    .hero-subheadline {
        font-size: 1.1rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .hero-text {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: block;
        z-index: 1002;
        padding: 8px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .menu-toggle i {
        font-size: 24px;
        transition: transform 0.3s ease;
    }

    .menu-toggle.active i {
        transform: rotate(90deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--light) 0%, #f8f9fa 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        padding: 170px 0 20px 0;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        color: var(--dark);
        font-size: 1.1rem;
        padding: 18px 25px;
        display: flex;
        align-items: center;
        width: 100%;
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
    }

    .nav-links a:hover,
    .nav-links a:focus {
        background: rgba(255, 107, 0, 0.1);
        color: var(--primary);
        border-left-color: var(--primary);
        transform: translateX(5px);
    }

    .nav-links a:after {
        display: none;
    }


    .video-container-wrapper {
        width: 300px;
        height: 300px;
    }

    .cta-form {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }

    .cta-input {
        border-radius: 12px 12px 0 0;
        padding: 18px 16px;
        font-size: 16px;
        width: 100%;
        min-height: 54px;
        border: 2px solid #ddd;
        outline: none;
    }

    .cta-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    }

    .cta-button {
        border-radius: 0 0 12px 12px;
        padding: 18px 16px;
        font-size: 16px;
        min-height: 54px;
        width: 100%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
        margin: 0 auto;
    }

    .newsletter-input {
        border-radius: 12px 12px 0 0;
        padding: 18px 16px;
        font-size: 16px;
        min-height: 54px;
        border: 2px solid #ddd;
        outline: none;
    }

    .newsletter-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    }

    .newsletter-button {
        border-radius: 0 0 12px 12px;
        padding: 18px 16px;
        font-size: 16px;
        min-height: 54px;
        transition: all 0.3s ease;
    }

    .newsletter-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .blog-card {
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }

    /* Swiper centering on mobile */
    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .swiper-slide.blog-card {
        margin: 0 auto !important;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .blog-excerpt {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .logo-image {
        height: 120px;
        width: 120px;
    }

    header.scrolled .logo-image {
        height: 80px;
        width: 80px;
    }

    header {
        padding: 15px 4%;
    }

    header.scrolled {
        padding: 12px 4%;
    }


    .cta-form {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }

    .cta-input {
        border-radius: 12px 12px 0 0;
        padding: 18px 16px;
        font-size: 16px;
        width: 100%;
        min-height: 54px;
        border: 2px solid #ddd;
        outline: none;
    }

    .cta-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    }

    .cta-button {
        border-radius: 0 0 12px 12px;
        padding: 18px 16px;
        font-size: 16px;
        min-height: 54px;
        width: 100%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
        margin: 0 auto;
    }

    .newsletter-input {
        border-radius: 12px 12px 0 0;
        padding: 18px 16px;
        font-size: 16px;
        min-height: 54px;
        border: 2px solid #ddd;
        outline: none;
    }

    .newsletter-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    }

    .newsletter-button {
        border-radius: 0 0 12px 12px;
        padding: 18px 16px;
        font-size: 16px;
        min-height: 54px;
        transition: all 0.3s ease;
    }

    .newsletter-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .blog-card {
        margin-bottom: 15px;
        margin-left: auto;
        margin-right: auto;
        max-width: 95%;
    }

    /* Swiper centering on mobile */
    .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .swiper-slide.blog-card {
        margin: 0 auto !important;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .blog-excerpt {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    header.scrolled {
        padding: 12px 4%;
    }
}

/* Extra mobile responsiveness */
@media (max-width: 480px) {
    header {
        padding: 10px 3%;
    }

    .hero {
        padding-top: 120px;
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 20px;
    }

    .hero-headline {
        font-size: 1.5rem;
        line-height: 1.4;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-top: 30px;
        margin-bottom: 25px;
    }
    
    .hero-headline .line-break {
        display: block;
        margin: 5px 0;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 0.9rem;
        padding: 0 5px;
    }

    .cta-box {
        padding: 20px 15px;
        max-width: 95%;
        margin: 0 auto;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        text-align: center;
    }

    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
    }

    .about-section,
    .testimonials-section,
    .blog-section,
    .newsletter-section {
        padding: 40px 3%;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
        transition: all 0.3s ease;
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }    /* Footer mobile improvements */
    footer {
        padding: 60px 3% 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-card {
        padding: 22px;
    }

    .footer-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-list {
        gap: 16px;
    }

    .footer-contact-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact-list li div {
        text-align: center;
    }

    .app-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .app-button {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .app-button i {
        font-size: 1.1rem;
    }

    .social-icons {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-divider {
        margin-bottom: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
        font-size: 0.9rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

.services-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.services-btn {
    padding: 20px 40px;
    font-size: 1.5rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: background 0.3s;
}
.services-btn:hover {
    background: #e05d00;
}
/* Hide overlay and services content initially */
.services-overlay {
    opacity: 0;
    pointer-events: none;
}
.services-overlay.active {
    opacity: 1;
    pointer-events: auto;
    animation: fadeInOverlay 1s ease-out forwards;
}
.torn-paper-container .paper-layer {
    pointer-events: none;
}


/* banner slider*/

.split-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
}

.split-half {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 2;
}

.left-half {
    left: 0;
    background: linear-gradient(120deg, #FF6B00, #FF8E29);
    transform-origin: left center;
}

.right-half {
    right: 0;
    background: linear-gradient(240deg, #1E40AF, #3B82F6);
    transform-origin: right center;
}

.split-content {
    text-align: center;
    max-width: 80%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.split-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.split-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.start-btn {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #1E40AF;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    cursor: pointer;
}

.start-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    background: #FF6B00;
    color: white;
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 107, 0, 0.3);
    transform: rotate(90deg);
}



.logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
    font-weight: 700;
    z-index: 20;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.instructions {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Animation */
@keyframes rotate {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-330px * 5));
    }
}

.animate-in .left-half {
    transform: translateX(-100%);
}

.animate-in .right-half {
    transform: translateX(100%);
}

.animate-in .split-content {
    opacity: 1;
    transform: translateY(0);
}

.banner-visible {
    opacity: 1;
    pointer-events: all;
}

.logo-visible {
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .split-content h2 {
        font-size: 2.8rem;
    }

    .item {
        width: 280px;
    }

    @keyframes rotate {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-310px * 5));
        }
    }
}

@media (max-width: 768px) {
    .split-content h2 {
        font-size: 2.2rem;
    }

    .split-content p {
        font-size: 1.1rem;
    }

    .start-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .item {
        width: 250px;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    @keyframes rotate {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 5));
        }
    }
}

@media (max-width: 600px) {
    .split-screen {
        flex-direction: column;
    }

    .split-half {
        width: 100%;
        height: 50%;
        position: relative;
    }

    .left-half {
        transform-origin: top center;
    }

    .right-half {
        transform-origin: bottom center;
    }

    .animate-in .left-half {
        transform: translateY(-100%);
    }

    .animate-in .right-half {
        transform: translateY(100%);
    }

    .split-content h2 {
        font-size: 1.8rem;
    }

    .split-content p {
        font-size: 1rem;
    }

    .item {
        width: 220px;
    }

    .service-card {
        padding: 1.2rem 0.8rem;
        height: 250px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-icon {
        font-size: 2rem;
        width: 70px;
        height: 70px;
    }

    .banner-wrapper {
        padding: 15px;
    }

    @keyframes rotate {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 5));
        }
    }
}

@media (max-width: 480px) {
    .item {
        width: 200px;
    }

    @keyframes rotate {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-230px * 5));
        }
    }
}

.logo-orange {
    display: none;
}
.logo-white {
    display: block;
}
header.scrolled .logo-white {
    display: none;
}
header.scrolled .logo-orange {
    display: block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--light);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), #e05d00);
    color: var(--light);
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.close {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    transform: rotate(90deg);
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.analyzed-url {
    background: var(--secondary);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), #e05d00);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.recommendations {
    background: var(--secondary);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.recommendations h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.recommendations ul {
    list-style: none;
    padding: 0;
}

.recommendations li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.recommendations li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.modal-cta {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), #e05d00);
    border-radius: 15px;
    color: var(--light);
}

.modal-cta p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.modal-cta-button {
    background: var(--light);
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-icon {
        font-size: 2rem;
    }
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SPA Loading Indicator */
.spa-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
    color: var(--light);
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 500;
}

/* SPA Transition Effects */
#spa-content {
    transition: opacity 0.3s ease-in-out;
}

#spa-content.fade-out {
    opacity: 0.3;
}

#spa-content.fade-in {
    opacity: 1;
}

/* SPA Navigation Active States */
.nav-links a.spa-active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Bootstrap Modal Custom Styling */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), #e05d00);
    color: white;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 20px 30px;
}

.modal-footer .btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary), #e05d00);
    border: none;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

/* CTA Input Validation Styles */
.cta-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.cta-input:invalid {
    border-color: #dc3545;
}

.cta-input:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Form validation message styling */
.cta-input:invalid + .cta-button {
    background: #6c757d;
    cursor: not-allowed;
}

/* Pricing Plans Section on Home Page */
.pricing-plans-home {
    padding: 100px 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

.plans-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.pricing-card-home {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.pricing-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.15);
    border-color: var(--primary);
}

.pricing-card-home.popular-home {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card-home.popular-home:hover {
    transform: scale(1.08) translateY(-10px);
}

.popular-badge-home {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.plan-badge-home {
    display: inline-block;
    background: #f8f9fa;
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.plan-name-home {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.plan-description-home {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.plan-price-home {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.currency-home {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 5px;
}

.amount-home {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.period-home {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.plan-features-home {
    list-style: none;
    margin: 30px 0;
    padding: 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features-home li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.plan-features-home li:last-child {
    border-bottom: none;
}

.plan-features-home li i {
    color: var(--primary);
    font-size: 1.1rem;
}

.plan-button-home {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
    margin-top: auto;
}

.plan-button-home:hover {
    background: #e05d00;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
    color: white;
}

.view-all-plans-btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.view-all-plans-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

.view-all-plans-btn i {
    margin-left: 8px;
    transition: var(--transition);
}

.view-all-plans-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Pricing Section */
@media (max-width: 1024px) {
    .plans-grid-home {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .pricing-card-home.popular-home {
        transform: scale(1);
    }

    .pricing-card-home.popular-home:hover {
        transform: scale(1.02) translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-plans-home {
        padding: 60px 3%;
    }

    .plans-grid-home {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }

    .pricing-card-home {
        min-height: 550px;
    }

    .plan-name-home {
        font-size: 1.8rem;
    }

    .amount-home {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .pricing-plans-home {
        padding: 40px 2%;
    }

    .pricing-card-home {
        padding: 30px 20px;
        min-height: 520px;
    }

    .plan-name-home {
        font-size: 1.6rem;
    }

    .amount-home {
        font-size: 2.5rem;
    }

    .plan-features-home li {
        font-size: 0.9rem;
        padding: 10px 0;
    }

    .view-all-plans-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}


        /* Video Testimonials Section Styles */
        .video-testimonials-section {
            padding: 100px 5%;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            position: relative;
            overflow: hidden;
        }

        .video-testimonials-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
            border-radius: 50%;
        }

        .video-testimonials-section .section-title {
            text-align: center;
            font-size: 2.8rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 15px;
        }

        .video-testimonials-section .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 60px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .video-testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .video-testimonial-card {
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
        }

        .video-testimonial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .video-testimonial-card::before {
            content: '\201C';
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 4rem;
            font-family: Georgia, serif;
            color: rgba(255, 107, 0, 0.1);
            line-height: 1;
            z-index: 1;
        }

        .video-thumbnail-wrapper {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 aspect ratio */
            overflow: hidden;
            cursor: pointer;
        }

        .video-thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease, filter 0.4s ease;
        }

        .video-testimonial-card:hover .video-thumbnail {
            transform: scale(1.05);
            filter: brightness(0.9);
        }

        .video-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: rgba(255, 107, 0, 0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
        }

        .video-play-btn i {
            margin-left: 4px;
        }

        .video-testimonial-card:hover .video-play-btn {
            transform: translate(-50%, -50%) scale(1.15);
            background: #e05d00;
            box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
        }

        .video-duration {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.75);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .testimonial-content {
            padding: 25px;
            position: relative;
            z-index: 2;
        }

        .testimonial-profile {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .testimonial-avatar {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #FF6B00;
            box-shadow: 0 4px 10px rgba(255, 107, 0, 0.2);
        }

        .testimonial-info h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: #1a1a2e;
            margin-bottom: 3px;
        }

        .testimonial-info p {
            font-size: 0.9rem;
            color: #666;
            margin: 0;
        }

        .testimonial-text {
            font-size: 0.95rem;
            color: #444;
            line-height: 1.7;
            margin-bottom: 15px;
            font-style: italic;
        }

        .testimonial-rating {
            display: flex;
            gap: 3px;
        }

        .testimonial-rating i {
            color: #FFB800;
            font-size: 1rem;
        }

        /* Video Modal Styles */
        .video-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .video-modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .video-modal-content {
            position: relative;
            width: 90%;
            max-width: 900px;
            background: #000;
            border-radius: 12px;
            overflow: hidden;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .video-modal-overlay.active .video-modal-content {
            transform: scale(1);
        }

        .video-modal-content iframe {
            width: 100%;
            aspect-ratio: 16/9;
            border: none;
        }

        .video-modal-close {
            position: absolute;
            top: -45px;
            right: 0;
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .video-modal-close:hover {
            transform: rotate(90deg);
        }

        /* Carousel Navigation */
        .testimonials-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 50px;
        }

        .testimonials-nav-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid #FF6B00;
            background: white;
            color: #FF6B00;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .testimonials-nav-btn:hover {
            background: #FF6B00;
            color: white;
            transform: scale(1.1);
        }

        .testimonials-dots {
            display: flex;
            gap: 10px;
        }

        .testimonials-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .testimonials-dot.active {
            background: #FF6B00;
            transform: scale(1.2);
        }

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .video-testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .video-testimonials-section {
                padding: 60px 5%;
            }

            .video-testimonials-section .section-title {
                font-size: 2rem;
            }

            .video-testimonials-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }

            .video-testimonial-card {
                max-width: 500px;
                margin: 0 auto;
            }

            .video-play-btn {
                width: 60px;
                height: 60px;
                font-size: 1.3rem;
            }

            .testimonials-nav {
                margin-top: 35px;
            }

            .testimonials-nav-btn {
                width: 45px;
                height: 45px;
            }
        }

        @media (max-width: 480px) {
            .video-testimonials-section .section-title {
                font-size: 1.7rem;
            }

            .testimonial-content {
                padding: 20px;
            }

            .testimonial-avatar {
                width: 45px;
                height: 45px;
            }

            .testimonial-info h4 {
                font-size: 1rem;
            }

            .testimonial-text {
                font-size: 0.9rem;
            }
        }
