/* ==========================================
   TITANZ SECURITY SERVICES - MASTER STYLESHEET
   Colors: White (#FFFFFF), #2E2D2D, #E3C580
   Fonts: Times New Roman, Poppins
   ========================================== */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #2E2D2D;
    --primary-gold: #E3C580;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size:90.5%;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', serif;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}

.company-logo {
    height: 60px;
    width: auto;
}

.phone-number {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 16px;
}

.phone-number:hover {
    color: var(--primary-dark);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-gold);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 280px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-top: 3px solid var(--primary-gold);
    z-index: 100;
    padding: 10px 0;
}

.dropdown-content.show {
    display: block !important;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--primary-gold);
    padding-left: 25px;
}


/* CTA Header Button */
.cta-header-btn {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.cta-header-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 197, 128, 0.4);
}

/* ========== HERO SLIDER ========== */
/* ==========================================
   HERO SLIDER - SLIDE-LEFT FADE-IN ANIMATION
   No Background Overlay on Text
   ========================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Slides */
.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide.fade-out {
    opacity: 0;
}

/* Background Image - No Zoom */
.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

[data-theme="dark"] .slide-bg {
    filter: brightness(0.4);
}

/* Slide Content - NO BACKGROUND */
.slide-content {
    position: absolute;
    top: 40%;
    left: 60px;
    transform: translateY(-50%);
    max-width: 650px;
    color: #FFFFFF;
    padding: 0; /* No padding needed without background */
    border-left: 5px solid var(--primary-gold);
    padding-left: 30px; /* Space from border */
    opacity: 0;
    transform: translateY(-50%) translateX(-100px);
}

/* Active slide content animation - Slide from Left */
.slide.active .slide-content {
    animation: slideInFromLeft 1s ease-out 0.3s forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Fade out animation */
.slide.fade-out .slide-content {
    animation: fadeOutToRight 0.6s ease-out forwards;
}

@keyframes fadeOutToRight {
    0% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
}

/* Hero Title Animation */
.hero-title {
    font-size: 52px;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateX(-30px);
}

.slide.active .hero-title {
    animation: slideInTitle 0.8s ease-out 0.6s forwards;
}

@keyframes slideInTitle {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Subtitle Animation */
.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #FFFFFF;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateX(-30px);
}

.slide.active .hero-subtitle {
    animation: slideInSubtitle 0.8s ease-out 0.9s forwards;
}

@keyframes slideInSubtitle {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CTA Buttons Animation */
.hero-cta-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .hero-cta-buttons {
    animation: slideInButtons 0.8s ease-out 1.2s forwards;
}

@keyframes slideInButtons {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    padding: 16px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-primary:hover {
    background-color: #FFFFFF;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 197, 128, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    padding: 16px 35px;
    border: 2px solid #FFFFFF;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-secondary:hover {
    background-color: #FFFFFF;
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Border Animation */
.slide-content::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-gold);
}

.slide.active .slide-content::before {
    animation: borderGrow 0.8s ease-out 0.2s forwards;
}

@keyframes borderGrow {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

/* ========== SLIDER DOTS ========== */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(227, 197, 128, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--primary-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(227, 197, 128, 0.6);
}

/* Dot Click Ripple */
.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    opacity: 0;
}

.dot.clicked::after {
    animation: dotRipple 0.6s ease-out;
}

@keyframes dotRipple {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}
.content-1{
    
    width: 90%;
    padding: 0 60px;
    gap: 10px;
}


.content-text{
    margin-bottom: 20px;
      color: #1a1919;
    
    
}
.content-p{
    color: #1a1919;
}


/* ========== MOBILE RESPONSIVE ========== */

@media (max-width: 1215px){
    p{
       font-size: 15px;
    }
}

@media (max-width: 1140px){
    .cta-header-btn{
        width: 40px;
        height: 20px;
        display: none;
    }

    .phone-number{
        font-size: 14px; /* Keep number readable */
    }

    p{
        font-size: 15px;
    }
}
    
@media (max-width: 1024px) {
    .slide-content {
        left: 30px;
        max-width: 500px;
        padding-left: 25px;
    }
    
    .logo-contact{
        flex-shrink: 1;
    }
    
    .phone-number{
        font-size: 14px; /* Keep phone number normal size */
    }

    .main-nav ul li a{
        display: flex;
        font-size: 12px;
        margin: 0 -5px;
        flex-shrink: 1;
    }
    
    .cta-header-btn{
        display: none;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    /* ✅ KEEP HEADER VISIBLE AND NORMAL */
    header {
        position: relative;
        z-index: 100;
        height: 75px;
        
        /* Don't hide or modify header */
    }
    .header-contact{
        display: flex;

    }

    .phone-number {
        font-size: 16px; /* ✅ KEEP NUMBER LARGE AND VISIBLE */
        display: flex;
        pointer-events: auto !important;
    }

    /* ✅ HAMBURGER MENU BUTTON */
    .mobile-menu-toggle {
        display: block !important;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 10001;
        background: #333;
        color: white;
        border: none;
        font-size: 28px;
        width: 50px;
        height: 50px;
        border-radius: 5px;
        cursor: pointer;
        padding: 0;
        line-height: 1;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    /* ✅ MOBILE OVERLAY */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 1;
    }

    .mobile-overlay.active {
        display: block !important;
    }

    /* ✅ SIDEBAR NAVIGATION - FULLY CLICKABLE */
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 300px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        transition: right 0.4s ease !important;
        overflow-y: auto !important;
        padding-top: 80px !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3) !important;
        display: block !important;
    }

    .main-nav.mobile-active {
        right: 0 !important; /* Slide in from right */
    }

    .main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .main-nav ul li {
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid #eee !important;
        display: block !important;
    }

    .main-nav ul li a {
        display: block !important;
        padding: 18px 25px !important;
        font-size: 18px !important;
        margin: 0 !important;
        color: #333 !important;
        text-decoration: none !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        z-index: 10000 !important;
        position: relative !important;
        background: transparent !important;
        transition: background 0.3s ease !important;
    }

    .main-nav ul li a:hover {
        background: #f0f0f0 !important;
    }

    .main-nav ul li a:active {
        background: #e0e0e0 !important;
    }

    /* ✅ DROPDOWN STYLES FOR MOBILE */
    .dropdown {
        position: relative !important;
    }

    .dropdown .dropbtn {
        width: 100% !important;
        text-align: left !important;
        background: transparent !important;
        border: none !important;
        padding: 18px 25px !important;
        font-size: 18px !important;
        cursor: pointer !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .dropdown .dropbtn::after {
        content: '▼' !important;
        font-size: 12px !important;
        transition: transform 0.3s ease !important;
    }

    .dropdown.mobile-open .dropbtn::after {
        transform: rotate(180deg) !important;
    }

    .dropdown-content {
        position: static !important;
        display: none !important;
        box-shadow: none !important;
        background: #f9f9f9 !important;
        width: 100% !important;
    }

    .dropdown.mobile-open .dropdown-content {
        display: block !important;
    }

    .dropdown-content a {
        padding: 15px 25px 15px 40px !important;
        font-size: 16px !important;
        background: #f9f9f9 !important;
    }

    .dropdown-content a:hover {
        background: #eeeeee !important;
    }

    /* ✅ REST OF YOUR STYLES */
    .slide-content {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        padding-left: 20px;
        top: 50%;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 25px;
    }
    
    .slider-dots {
        bottom: 20px;
        gap: 12px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }

    .content-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;      
        flex-wrap: wrap;
    }

    .content-container h1{
        font-size: 2rem;
        flex-shrink: 1;
        flex-basis: auto;
    }
    
    .content-container p{
        font-size: 14px;
        flex-shrink: 1;       
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        width: 45px;
        height: 45px;
        font-size: 24px;
        right: 15px;
    }

    .main-nav {
        width: 85% ; /* Slightly narrower on very small screens */
    }

    .phone-number {
        font-size: 10px; /* Still readable */
    }

    .slide-content {
        padding-left: 15px;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 14px;
        padding: 12px 20px;
    }

    .content-container h1{
        font-size: 1.5rem;
        flex-shrink: 1;
        flex-basis: auto;
    }
    
    .content-container p{
        font-size: 12px;
        flex-shrink: 1;       
        flex-basis: auto;
    }
}


/* ========== ACCESSIBILITY - REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    .slide-content,
    .hero-title,
    .hero-subtitle,
    .hero-cta-buttons,
    .slide-content::before {
        animation: none !important;
        transition: none !important;
    }
    
    .slide.active .slide-content,
    .slide.active .hero-title,
    .slide.active .hero-subtitle,
    .slide.active .hero-cta-buttons {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}


/* ========== SECTIONS ========== */
section {
    padding: 80px 0;
}

.section-title-center {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.section-subtitle-center {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* ========== SERVICES OVERVIEW ========== */
.services-overview {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 15px;
}

.btn-service {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    margin-top: 15px;
}

.btn-service:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}



/* ========== INDUSTRIES ========== */
.industries-section {
    background-color: var(--light-gray);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.industry-item {
    text-align: center;
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.industry-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.industry-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.industry-item h4 {
    font-size: 18px;
    color: var(--primary-dark);
}

/* ========== QUOTE FORM ========== */
.quote-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1919 100%);
    color: var(--white);
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quote-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--white);
}

.quote-content p {
    font-size: 18px;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
}

.quote-benefits {
    margin-top: 30px;
}

.quote-benefits li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--primary-gold);
}

.quote-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    padding: 18px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 197, 128, 0.4);
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid var(--primary-gold);
}

.stars {
    color: var(--primary-gold);
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 15px;
}


/* ========== FOOTER ========== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    align-self: center;
    margin: 0 60px;
}



.footer-col p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-contact p {
    margin: 10px 0;
}

.footer-col h4 {
    color: var(--primary-gold);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* ========== PAGE HERO ========== */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-size: 52px;
    margin-bottom: 15px;
    color: var(--white);
}

.page-hero-content p {
    font-size: 20px;
    color: var(--white);
}

/* ========== SERVICE PAGES ========== */
.service-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-left: 60px;
    color: var(--white);
}

.service-hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--white);
}

.service-hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
}

.btn-hero-primary {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

/* Service Introduction */
.service-intro {
    padding: 80px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content h2 {
    font-size: 38px;
    margin-bottom: 25px;
}

.intro-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.intro-highlights {
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.highlight-icon {
    color: var(--primary-gold);
    font-size: 24px;
    font-weight: bold;
}

.intro-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== CONTACT PAGE ========== */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-method {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
}

.method-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.contact-method h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-method p {
    margin: 10px 0;
}

.contact-method a {
    color: var(--primary-gold);
    font-weight: 600;
}

/* ========== RESPONSIVE Side Bar== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 30px;
    }
    
    .slide-content {
        left: 30px;
        max-width: 500px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .quote-wrapper,
    .intro-grid,
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-slider,
    .slide,
    .service-hero {
        height: 600px;
    }
    
    .slide-content,
    .service-hero-content {
        left: 20px;
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .hero-title,
    .service-hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-cta-buttons,
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .services-grid,
    .why-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-center,
    .section-title {
        font-size: 32px;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

/* ========== MOBILE MENU STYLES ========== */
.mobile-menu-toggle {
    display: none;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    padding: 10px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        align-self: flex-end;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
        transition: left 0.3s ease;
        z-index: 9999;
        padding-top: 10px;
    }
    
    .main-nav.mobile-active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 10px;
        width: 100%;
    }

    .logo-contact{
        flex-shrink: 1;
        align-self: flex-start;
        height: 0.2rem;
        position: relative;
        bottom: -25px;
    }

    .header-container{
        display: flex;
        align-items: center;
    }
    .phone-number{
        font-weight: 400;
        font-size: 12px;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background-color: var(--light-gray);
        margin-left: 20px;
    }
    
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    .dropdown.mobile-open .dropdown-content {
        display: block;
    }
    
    .cta-header-btn {
        margin-top: 20px;
        display: none;
        text-align: center;
    }
}

/* ========== SERVICE PAGE SPECIFIC STYLES ========== */
.security-types-grid,
.cleaning-types-grid,
.lifeguard-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.security-type-card,
.cleaning-type-card,
.lifeguard-type-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.security-type-card:hover,
.cleaning-type-card:hover,
.lifeguard-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.security-type-card img,
.cleaning-type-card img,
.lifeguard-type-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.security-type-card h3,
.cleaning-type-card h3,
.lifeguard-type-card h3 {
    padding: 20px 25px 10px;
    font-size: 22px;
}

.security-type-card p,
.cleaning-type-card p,
.lifeguard-type-card p {
    padding: 0 25px;
    color: var(--text-light);
    line-height: 1.7;
}

.type-features {
    padding: 20px 25px;
}

.type-features li {
    padding: 6px 0;
    color: var(--text-dark);
    font-size: 14px;
}

.btn-type {
    display: inline-block;
    margin: 0 25px 25px;
    color: var(--primary-gold);
    font-weight: 600;
    transition: var(--transition);
}

.btn-type:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}





/* ========== WHY CHOOSE SERVICE SECTION ========== */
.why-choose-service {
    background-color: var(--white);
}

.why-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-service-item {
    background-color: var(--light-gray);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.why-service-item:hover {
    background-color: var(--primary-gold);
    transform: translateY(-5px);
}

.why-service-icon img {
    font-size: 30px;
    margin-bottom: 20px;
}

.why-service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* ========== SERVICE QUOTE FORM ========== */
.service-quote-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1919 100%);
    color: var(--white);
}

.quote-header {
    text-align: center;
    margin-bottom: 50px;
}

.quote-header h2 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 15px;
}

.quote-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

.service-quote-form {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-grid input,
.form-grid select, textarea {
    width: 100%;
}

.btn-submit-quote {
    width: 100%;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    padding: 18px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-quote:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.form-guarantee {
    text-align: center;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 14px;
}



/* ========== SERVICE AREAS ========== */
.service-areas {
    background-color: var(--light-gray);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.area-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
}

.area-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    border-bottom: 3px solid var(--primary-gold);
    padding-bottom: 10px;
}

.area-card ul li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 15px;
}

.area-card ul li::before {
    content: "📍 ";
    margin-right: 8px;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-gold);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}


/* ========== NEWSLETTER ========== */
.newsletter-section {
    background-color: var(--primary-dark);
    text-align: center;
}

.newsletter-box h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 15px;
}

.newsletter-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
}

.newsletter-form button {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--white);
}

.newsletter-privacy {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 15px;
}

/* ========== VELGOR SPECIFIC ========== */
.velgor-badge {
    background-color: var(--primary-gold);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 5px solid var(--primary-dark);
}

.velgor-badge p {
    color: var(--primary-dark);
    font-weight: 600;
    margin: 0;
}


/* ========== TITANZ SECURITY GUARD SERVICES SPECIFIC ========== */




/* ========== VELQOR SECURITY GUARD SERVICES SPECIFIC ========== */




/* ========== vELQOR LIFEGUARD SERVICES SPECIFIC ========== */







/* ========== ADDITIONAL RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    .form-grid,
    .main-contact-form .form-row,
    .newsletter-form {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper,
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .service-quote-form,
    .contact-form-box {
        padding: 30px 20px;
    }
    
    .page-hero-content h1 {
        font-size: 36px;
    }
    
    .section-title-center,
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 25px;
        font-size: 14px;
    }
}


/* ==========================================
   HERO SLIDER TEXT ANIMATIONS
   ========================================== */

/* Hide slides by default */
.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide.active {
    display: block;
}

/* Slide Background Animation */
.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    animation: zoomIn 7s ease-out forwards;
}

[data-theme="dark"] .slide-bg {
    filter: brightness(0.4);
}

@keyframes zoomIn {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Slide Content Container */
.slide-content {
    position: absolute;
    top: 40%;
    left: 60px;
    transform: translateY(-50%);
    max-width: 650px;
    color: var(--white);
    padding: 40px;
    background: rgba(46, 45, 45, 0.7);
    border-left: 5px solid var(--primary-gold);
    backdrop-filter: blur(10px);
    opacity: 0;
}

[data-theme="dark"] .slide-content {
    background: rgba(26, 26, 26, 0.85);
}

/* Active slide content animation */
.slide.active .slide-content {
    animation: slideInLeft 1s ease-out 0.3s forwards;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* Hero Title Animation */
.hero-title {
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateX(-50px);
}

.slide.active .hero-title {
    animation: slideInTitle 0.8s ease-out 0.6s forwards;
}

@keyframes slideInTitle {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Subtitle Animation */
.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--white);
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-50px);
}

.slide.active .hero-subtitle {
    animation: slideInSubtitle 0.8s ease-out 0.9s forwards;
}

@keyframes slideInSubtitle {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CTA Buttons Animation */
.hero-cta-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .hero-cta-buttons {
    animation: slideInButtons 0.8s ease-out 1.2s forwards;
}

@keyframes slideInButtons {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual Button Animations */
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

/* Staggered Button Animation */
.hero-cta-buttons .btn-primary {
    animation: fadeInUp 0.6s ease-out 1.3s both;
}

.hero-cta-buttons .btn-secondary {
    animation: fadeInUp 0.6s ease-out 1.5s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Border Animation */
.slide-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-gold);
    transition: height 0.8s ease-out 0.5s;
}

.slide.active .slide-content::before {
    height: 100%;
}

/* Glowing Border Effect */
.slide-content::after {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--primary-gold) 50%, 
        transparent 100%);
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
}

.slide.active .slide-content::after {
    opacity: 1;
}

@keyframes borderGlow {
    0%, 100% {
        top: 0;
        opacity: 0;
    }
    50% {
        top: 50%;
        opacity: 1;
    }
}

/* Fade Out Animation (when slide changes) */
.slide.fade-out .slide-content {
    animation: fadeOutRight 0.6s ease-out forwards;
}

@keyframes fadeOutRight {
    0% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
}

/* Typing Effect for Title (Optional Enhanced Version) */
.hero-title.typing {
    overflow: hidden;
    border-right: 3px solid var(--primary-gold);
    white-space: nowrap;
    animation: 
        typing 2s steps(40, end) 0.6s forwards,
        blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-gold);
    }
}

/* Slide Transition Effect */
.slide {
    transition: opacity 0.6s ease-in-out;
}

.slide.entering {
    animation: slideEnter 1s ease-out forwards;
}

@keyframes slideEnter {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========== SLIDER DOTS ANIMATION ========== */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    animation: fadeInDots 1s ease-out 1.8s both;
}

@keyframes fadeInDots {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: var(--primary-gold);
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background-color: var(--primary-gold);
    transform: scale(1.2);
}

.dot.active::before {
    width: 100%;
    height: 100%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Dot Ripple Effect on Click */
.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    opacity: 0;
}

.dot.clicked::after {
    animation: dotRipple 0.6s ease-out;
}

@keyframes dotRipple {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

/* ========== PROGRESS BAR (Optional) ========== */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 60px;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-gold), #d4b56f);
    z-index: 11;
}

.slide.active .slide-progress {
    animation: progressBar 5s linear forwards;
}

@keyframes progressBar {
    0% {
        width: 0;
    }
    100% {
        width: calc(100% - 120px);
    }
}

/* ========== MOBILE RESPONSIVE ANIMATIONS ========== */
@media (max-width: 1024px) {
    .slide-content {
        left: 30px;
        max-width: 500px;
        padding: 30px 25px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        padding: 25px 20px;
        top: 50%;
    }
    
    @keyframes slideInLeft {
        0% {
            opacity: 0;
            transform: translateY(-50%) translateY(50px);
        }
        100% {
            opacity: 1;
            transform: translateY(-50%) translateY(0);
        }
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .slide-progress {
        left: 20px;
        width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .slider-dots {
        bottom: 20px;
        gap: 10px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
}

/* ========== ACCESSIBILITY - REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    .slide-bg,
    .slide-content,
    .hero-title,
    .hero-subtitle,
    .hero-cta-buttons,
    .slider-dots,
    .dot,
    .slide-progress {
        animation: none !important;
        transition: none !important;
    }
    
    .slide.active .slide-content {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
    
    .slide.active .hero-title,
    .slide.active .hero-subtitle,
    .slide.active .hero-cta-buttons {
        opacity: 1;
        transform: none;
    }
}

/* ========== DARK THEME ADJUSTMENTS ========== */
[data-theme="dark"] .slide-content {
    background: rgba(26, 26, 26, 0.85);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .dot {
    background-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .dot:hover,
[data-theme="dark"] .dot.active {
    background-color: var(--primary-gold);
}

/* Bouncy button entrance */
.hero-cta-buttons .btn-primary {
    animation: bounceIn 0.8s ease-out 1.3s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* ==========================================
   SWITCHABLE CONTACT FORM - CLIENT/APPLICANT
   ========================================== */

/* Form Type Toggle */
.form-type-toggle {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    background-color: var(--bg-secondary);
    padding: 8px;
    border-radius: 50px;
}

.toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: transparent;
    border: none;
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold), #d4b56f);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.toggle-btn:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.toggle-btn.active {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    box-shadow: 0 5px 15px rgba(227, 197, 128, 0.4);
}

.toggle-btn.active::before {
    opacity: 1;
}

.toggle-icon {
    font-size: 20px;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.form-header h3 {
    font-size: 26px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-header p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Form Animation */
.main-contact-form {
    animation: fadeInForm 0.5s ease-out;
}

@keyframes fadeInForm {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    background-color: var(--input-bg);
    color: var(--input-text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(227, 197, 128, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
    color: var(--text-primary);
}

.radio-label input[type="radio"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--primary-gold);
}

.radio-label span {
    font-size: 15px;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    border: 3px dashed var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary-gold);
    background-color: var(--bg-primary);
}

.file-upload-icon {
    font-size: 48px;
}

.file-upload-text {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
}

.file-upload-name {
    font-size: 14px;
    color: var(--primary-gold);
    font-weight: 600;
    display: none;
}

.file-upload-wrapper input[type="file"]:valid + .file-upload-label {
    border-color: #4caf50;
    background-color: rgba(76, 175, 80, 0.05);
}

.file-upload-wrapper input[type="file"]:valid + .file-upload-label .file-upload-name {
    display: block;
}

.file-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Form Info Type */
.form-type-info {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid var(--primary-gold);
    animation: slideInInfo 0.5s ease-out;
}

@keyframes slideInInfo {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-type-info h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-type-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.open-positions {
    margin-top: 15px;
}

.open-positions h5 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.open-positions ul li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Submit Button Enhancement */
.btn-submit-contact {
    width: 100%;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-submit-contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit-contact:hover::before {
    width: 400px;
    height: 400px;
}

.btn-submit-contact:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 197, 128, 0.4);
}

.btn-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-submit-contact:hover .btn-icon {
    transform: translateX(5px);
}

/* Required Field Indicator */
.form-group label::after {
    content: ' *';
    color: #ff0000;
    font-weight: 600;
}

/* Remove asterisk from labels without required fields */
.form-group label:not([for*="required"])::after {
    content: '';
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-type-toggle {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .toggle-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
    
    .file-upload-label {
        padding: 30px 15px;
    }
    
    .file-upload-icon {
        font-size: 36px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .toggle-icon {
        font-size: 18px;
    }
    
    .toggle-btn {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .form-header h3 {
        font-size: 20px;
    }
}