/* Premium Hero Section Styling */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

.interactive-hero {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/modern_hero_bg.jpg') no-repeat top center;
    background-size: cover;
    padding: 260px 0 120px 0; /* Generous top padding to completely clear header */
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    z-index: 1;
}

/* Optional subtle gradient on the very left just to ensure text readability if needed */
.interactive-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

/* Hero Content Area - 2 Column Layout */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text-column {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
}

.hero-action-column {
    flex: 0 0 auto;
    width: 400px;
    max-width: 100%;
    opacity: 0;
    transform: translateX(30px);
    animation: heroFadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

/* Premium Action Card */
.action-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.action-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.action-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Typography styles */
.hero-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666666;
    margin-bottom: 20px;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 5vw, 60px); 
    line-height: 1.15;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: -0.01em;
    opacity: 0;
    text-shadow: none;
    transform: translateY(30px);
    animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-title .highlight-text {
    color: #e5a842; 
    display: inline-block;
    position: relative;
    font-weight: 700;
}

.hero-title-divider {
    width: 70px;
    height: 3px;
    background: #e5a842;
    border-radius: 0;
    margin-bottom: 30px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    animation: heroScaleX 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-description {
    font-size: clamp(16px, 1.8vw, 18px);
    line-height: 1.6;
    color: #444444;
    max-width: 500px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

/* Interactive Buttons */
.hero-btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.hero-btn-primary {
    background: #e5a842;
    color: #1a1a1a;
    border: 1px solid #e5a842;
    box-shadow: 0 4px 15px rgba(229, 168, 66, 0.2);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 168, 66, 0.3);
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.hero-btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #cccccc;
}

.hero-btn-secondary:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.hero-btn .arrow-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-btn:hover .arrow-icon {
    transform: translateX(4px);
}

@keyframes heroFadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    .hero-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-action-column {
        width: 100%;
        max-width: 500px;
        margin-top: 20px;
    }
}

/* Animations */
@keyframes heroFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroScaleX {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .interactive-hero {
        min-height: 85vh;
        padding: 100px 0 60px 0;
    }
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .hero-btn {
        width: 100%;
    }
}

/* Redesigned Services Section with Overlapping Scroll Effect */
.services-section {
    position: relative;
    z-index: 10;
    background: #ffffff !important;
    padding: 120px 0 100px 0 !important;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Premium Services Section Header Layout */
.services-section .premium-sec-title {
    margin-bottom: 70px !important;
    position: relative;
}

.services-section .premium-sec-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: -30px;
    width: 60px;
    height: 4px;
    background: #e5a842;
    border-radius: 2px;
}

.services-section .premium-sec-title h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(38px, 4.5vw, 56px) !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em;
    margin: 0 !important;
    text-align: left !important;
    position: relative;
    padding-right: 30px;
}

.services-section .premium-sec-title h1 span {
    color: #e5a842 !important; /* Gold branding color */
    font-style: italic;
}

/* Vertical divider between columns on desktop */
.services-section .premium-sec-title .text-content {
    position: relative;
    padding-left: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.services-section .premium-sec-title .text {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(16px, 1.8vw, 18px) !important;
    line-height: 1.75 !important;
    color: #555555 !important;
    font-weight: 300 !important;
    margin: 0 !important;
    text-align: left !important;
}

@media (max-width: 991px) {
    .services-section .premium-sec-title .text-content {
        padding-left: 0;
        border-left: none;
        margin-top: 30px;
    }
    .services-section .premium-sec-title h1 {
        padding-right: 0;
    }
}

/* Ultra-Clean Boxless Grid Layout with Black Hover Border */
.services-section .row {
    counter-reset: none;
}

.services-section .service-block {
    margin-bottom: 60px !important;
}

.services-section .service-block .inner-box {
    background: transparent !important;
    border: 1px solid transparent !important; /* Transparent by default to prevent layout shift */
    border-radius: 8px !important; /* Slight radius for a modern feel */
    padding: 35px 30px !important; /* Generous padding to create the box shape */
    box-shadow: none !important;
    position: relative;
    overflow: visible !important;
    height: 100%;
    
    /* CSS Grid for perfect side-by-side icon/text alignment */
    display: grid !important;
    grid-template-columns: 55px 1fr;
    grid-template-rows: auto 1fr;
    gap: 15px 25px;
    align-items: start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1;
}

/* Black border box and subtle lift on hover */
.services-section .service-block .inner-box:hover {
    transform: translateY(-5px) !important;
    border-color: #1a1a1a !important; /* The requested black border on hover */
    background: #ffffff !important; /* Solid white background on hover to make it pop */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
}

/* Disable all legacy background boxes and borders */
.services-section .service-block .inner-box::before,
.services-section .service-block .inner-box::after {
    display: none !important;
}

/* Icon Design - Floating on the left */
.services-section .service-block .inner-box .icon {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: auto;
    background: transparent !important;
    color: #e5a842 !important;
    font-size: 48px !important;
    margin: 0 !important;
    padding-top: 5px; /* Visual alignment with title */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-section .service-block .inner-box:hover .icon {
    transform: scale(1.1);
}

/* Title Design */
.services-section .service-block h3 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    padding-bottom: 15px;
    position: relative;
    transition: color 0.3s ease;
}

/* Elegant animated golden underline below title */
.services-section .service-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(229, 168, 66, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-section .service-block .inner-box:hover h3::after {
    width: 60px;
    background: #e5a842;
}

.services-section .service-block h3 a {
    color: #1a1a1a !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-section .service-block .inner-box:hover h3 a {
    color: #e5a842 !important;
}

/* Text Description */
.services-section .service-block .text {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #666666 !important;
    font-weight: 300 !important;
    margin: 0 !important;
}

/* Hide flying vector icons for cleaner, modern look */
.services-section .anim-icons {
    display: none !important;
}

/* --- Premium About Section --- */
.about-section {
    background: #0b0e14 !important; /* Very dark rich blue/black */
    padding: 120px 0 !important;
    position: relative;
    overflow: hidden;
}

/* Subtle glowing background accent */
.about-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(229,168,66,0.04) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.about-section .auto-container {
    position: relative;
    z-index: 1;
}

/* Style the Image Column */
.about-section .image-box {
    position: relative;
    margin-right: 30px;
    z-index: 2;
}

.about-section .image-box .image img {
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    width: 100%; /* Ensure it's responsive */
}

.about-section .image-box:hover .image img {
    transform: translateY(-10px);
    box-shadow: 0 40px 70px rgba(229,168,66,0.1);
}

/* Style the Content Column */
.about-section .content-column .inner-column {
    padding-left: 40px;
}

@media (max-width: 991px) {
    .about-section .content-column .inner-column {
        padding-left: 0;
        margin-top: 50px;
    }
    .about-section .image-box {
        margin-right: 0;
    }
}

.about-section h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(38px, 4.5vw, 54px) !important;
    font-weight: 700 !important;
    color: #ffffff !important; /* White text for readability against dark bg */
    margin-bottom: 35px !important;
    line-height: 1.2 !important;
    position: relative;
    padding-bottom: 20px;
}

.about-section h2 span {
    color: #e5a842 !important; /* Gold logo color */
    font-style: italic;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e5a842;
    border-radius: 2px;
}

.about-section .text-justfy p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.75) !important; /* Soft light gray for readability */
    margin-bottom: 20px !important;
    font-weight: 300 !important;
}

.about-section .text-justfy p:last-child {
    margin-bottom: 0 !important;
}

/* Hide flying vector icons in about section too */
.about-section .anim-icons {
    display: none !important;
}

/* Custom Split Reveal Animations for About Section */
.splitLeft {
    animation-name: splitRevealLeft;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.splitRight {
    animation-name: splitRevealRight;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes splitRevealLeft {
    0% {
        opacity: 0;
        transform: translateX(50%) scale(0.85);
        filter: blur(10px);
    }
    40% {
        opacity: 1;
        transform: translateX(50%) scale(1.02); /* Appears in center and pops slightly */
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1); /* Slides to its original left position */
    }
}

@keyframes splitRevealRight {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.85);
        filter: blur(10px);
    }
    40% {
        opacity: 1;
        transform: translateX(-50%) scale(1); /* Appears in center behind image */
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1); /* Slides to its original right position */
    }
}

/* --- Premium Progress Section --- */
.progress-section {
    background: #fafafa !important; /* Very soft off-white for contrast */
    padding: 120px 0 100px !important;
    position: relative;
}

/* Headings and Text */
.progress-section h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(36px, 4vw, 48px) !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
    margin-bottom: 25px !important;
}

.progress-section h1 b {
    font-weight: 800 !important;
}

.progress-section h1 span {
    color: #e5a842 !important; /* Override inline red to Gold */
    font-style: italic;
}

.progress-section .text {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #666666 !important;
    margin-bottom: 50px !important;
    font-weight: 300 !important;
}

/* Progress Bars Container */
.progress-section .progress-bars {
    margin-top: 30px;
}

.progress-section .bar-item {
    margin-bottom: 45px !important;
    position: relative;
}

.progress-section .skill-header {
    margin-bottom: 12px !important;
}

.progress-section .skill-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* The Progress Bar Track */
.progress-section .skill-bar {
    background: #e9e9e9 !important; /* Light elegant track */
    border-radius: 10px !important;
    height: 6px !important; /* Ultra thin line */
    width: 100% !important;
    position: relative;
}

.progress-section .skill-bar .bar-inner {
    height: 100% !important;
    width: 100% !important;
}

/* The Filled Progress Line */
.progress-section .skill-bar .bar {
    background: linear-gradient(90deg, #e5a842, #ffcc73) !important; /* Gold gradient */
    height: 100% !important;
    border-radius: 10px !important;
    position: relative;
    box-shadow: 0 4px 12px rgba(229, 168, 66, 0.4) !important; /* Glowing effect */
}

/* Floating Percentage Number */
.progress-section .skill-percentage {
    position: absolute !important;
    right: 0 !important;
    bottom: 100% !important;
    margin-bottom: 15px !important;
    background: transparent !important;
    color: #1a1a1a !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 0 !important;
}

/* Hide legacy tooltips/arrows on the percentage */
.progress-section .skill-percentage::before,
.progress-section .skill-percentage::after {
    display: none !important;
}

.progress-section .count-box {
    color: #1a1a1a !important; /* Ensure numbers are dark, not red */
}

/* Image Column */
.progress-section .image-column {
    padding-left: 50px;
}

.progress-section .image-column img {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    width: 100%;
    transition: transform 0.5s ease;
}

.progress-section .image-column:hover img {
    transform: translateY(-10px);
}

@media (max-width: 991px) {
    .progress-section .image-column {
        padding-left: 15px;
        margin-top: 50px;
    }
}

/* --- Premium Fun Fact Section --- */
.fun-fact-section {
    position: relative;
    padding: 60px 0 50px !important; /* Significantly reduced padding */
    background-color: #0b0e14 !important; /* Deep rich dark background */
    border-top: 1px solid rgba(229, 168, 66, 0.1);
    border-bottom: 1px solid rgba(229, 168, 66, 0.1);
}

/* Dark elegant overlay over the legacy inline background image */
.fun-fact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0b0e14;
    opacity: 0.96; 
    z-index: 1;
}

.fun-fact-section .auto-container {
    position: relative;
    z-index: 2;
}

/* Flexbox to perfectly align the 5 stats horizontally */
.fun-fact-section .row {
    display: flex !important;
    justify-content: space-evenly !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
}

/* Force equal width for all 5 boxes to ensure perfectly even gaps */
.fun-fact-section .count-box {
    margin-bottom: 30px !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex: 1 1 0 !important;
    max-width: 20% !important; /* 5 items evenly distributed */
    padding: 0 10px !important;
}

@media (max-width: 991px) {
    .fun-fact-section .count-box {
        flex: 1 1 30% !important;
        max-width: 33.33% !important;
    }
}
@media (max-width: 767px) {
    .fun-fact-section .count-box {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}
.fun-fact-section .count-box:hover {
    transform: translateY(-10px) !important;
}

.fun-fact-section .content-box {
    text-align: center !important;
    padding: 20px 0 !important;
}

/* Golden Numbers Styling */
.fun-fact-section .count-outer {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 44px !important; /* Fixed unified size instead of clamp to ensure they all look perfectly identical */
    font-weight: 700 !important;
    color: #e5a842 !important; /* Gold Theme */
    line-height: 1 !important;
    margin-bottom: 15px !important;
    text-shadow: 0 10px 25px rgba(229,168,66,0.15) !important;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.fun-fact-section .count-outer span {
    color: inherit !important;
}

/* Title Styling */
.fun-fact-section .counter-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.7) !important; /* Soft white/gray */
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    position: relative !important;
    padding-top: 20px !important;
    margin-top: 0 !important;
}

/* Elegant little gold separator between number and title */
.fun-fact-section .counter-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #e5a842;
    border-radius: 2px;
    opacity: 0.4;
    transition: all 0.4s ease;
}

.fun-fact-section .count-box:hover .counter-title::before {
    opacity: 1;
    width: 60px;
}

/* --- Unique Box-Less Editorial Gallery Section --- */
.gallery-section-two {
    padding: 120px 0 !important;
    background: #ffffff !important;
    position: relative;
}

/* Editorial Typography Filters (No Boxes) */
.gallery-section-two .filter-tabs {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    margin-bottom: 80px !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.gallery-section-two .filter-tabs .filter {
    padding: 10px 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 20px !important;
    font-style: italic !important;
    font-weight: 600 !important;
    color: #444444 !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    text-transform: capitalize !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    position: relative;
    box-shadow: none !important;
}

.gallery-section-two .filter-tabs .filter.active,
.gallery-section-two .filter-tabs .filter:hover {
    background: transparent !important;
    color: #1a1a1a !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Elegant golden dot for active state instead of an underline */
.gallery-section-two .filter-tabs .filter::before {
    content: '' !important;
    position: absolute !important;
    bottom: -5px !important;
    left: 50% !important;
    transform: translateX(-50%) scale(0) !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #e5a842 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
}

.gallery-section-two .filter-tabs .filter.active::before {
    transform: translateX(-50%) scale(1) !important;
}

/* Hide legacy red dot/line from filter */
.gallery-section-two .filter-tabs .filter::after {
    display: none !important;
}

/* Project Blocks (No Boxes, Pure Images) */
.gallery-section-two .project-block-two {
    margin-bottom: 50px !important;
}

.gallery-section-two .inner-box {
    border-radius: 0 !important; /* Sharp, editorial corners */
    overflow: hidden !important;
    position: relative !important;
    box-shadow: none !important; 
    background: transparent !important; /* NO BOXES */
    border: none !important;
}

.gallery-section-two .inner-box:hover {
    transform: none !important; /* No floating boxes */
    box-shadow: none !important;
}

.gallery-section-two .image {
    position: relative;
    display: block;
}

.gallery-section-two .image img {
    width: 100% !important;
    height: auto !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
    opacity: 1 !important;
}

/* On hover, image zooms slowly and gets a golden/dark tint */
.gallery-section-two .inner-box:hover .image img {
    transform: scale(1.05) !important;
}

.gallery-section-two .image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 26, 26, 0.85); /* Solid dark overlay */
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.gallery-section-two .inner-box:hover .image::after {
    opacity: 1;
}

/* Unique Hover Overlay (Centered Text) */
.gallery-section-two .overlay-box {
    position: absolute !important;
    top: 50% !important; 
    left: 50% !important; 
    transform: translate(-50%, -40%) !important;
    bottom: auto !important;
    right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important; /* No background box */
    padding: 0 !important;
    opacity: 0 !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    text-align: center !important;
    width: 90% !important;
    z-index: 10 !important;
}

.gallery-section-two .overlay-box::before {
    display: none !important;
}

.gallery-section-two .inner-box:hover .overlay-box {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
}

.gallery-section-two .overlay-box .title h3 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 28px !important;
    color: #ffffff !important; 
    margin: 0 0 15px 0 !important;
    font-style: italic !important;
}

.gallery-section-two .overlay-box .title h3 a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.gallery-section-two .overlay-box .title span {
    color: #e5a842 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    font-weight: 500 !important;
    position: relative;
    display: inline-block;
}

/* Elegant lines around category */
.gallery-section-two .overlay-box .title span::before,
.gallery-section-two .overlay-box .title span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: #e5a842;
}
.gallery-section-two .overlay-box .title span::before { right: 100%; margin-right: 15px; }
.gallery-section-two .overlay-box .title span::after { left: 100%; margin-left: 15px; }

/* Hide the broken link icon */
.gallery-section-two .link-box {
    display: none !important;
}

/* Box-less Text Button */
.gallery-section-two .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: transparent !important;
    color: #1a1a1a !important;
    border: none !important;
    border-radius: 0 !important; 
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    margin: 80px auto 0 !important;
    max-width: max-content !important;
    box-shadow: none !important;
    transition: all 0.4s ease !important;
    position: relative;
}

.gallery-section-two .btn span {
    position: relative;
    z-index: 2;
}

/* Animated line below the button */
.gallery-section-two .btn::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e5a842;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: right;
    transform: scaleX(1);
}

.gallery-section-two .btn:hover {
    transform: none !important;
    box-shadow: none !important;
    color: #e5a842 !important;
}

.gallery-section-two .btn:hover::after {
    transform-origin: left;
    transform: scaleX(0);
}

.gallery-section-two .btn i {
    display: none !important; /* Hide arrows for a cleaner look */
}

/* --- Premium Features Section --- */
.features-section-three {
    padding: 120px 0 !important;
    background: #0b0e14 !important; /* Premium dark background */
    position: relative;
}

/* Hide background animation icons if they are clunky */
.features-section-three .anim-icons {
    opacity: 0.1 !important; /* Keep them but make them very subtle */
}

/* Image Column Styling */
.features-section-three .image-column .inner-column {
    position: relative;
    padding-right: 50px;
}

.features-section-three .image-box {
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
    transition: transform 0.5s ease !important;
}

.features-section-three .image-box:hover {
    transform: translateY(-10px) !important;
}

.features-section-three .image-box img {
    width: 100% !important;
    border-radius: 16px !important;
    display: block !important;
}

/* Elegant golden offset border behind the image */
.features-section-three .image-column .inner-column::before {
    content: '';
    position: absolute;
    top: -20px;
    bottom: 20px;
    left: -20px;
    right: 70px; /* Account for padding-right */
    border: 1px solid rgba(229, 168, 66, 0.4);
    border-radius: 16px;
    z-index: 0;
    transition: all 0.5s ease;
}

.features-section-three .image-column:hover .inner-column::before {
    top: 0; left: 0; bottom: 0; right: 50px;
}

.features-section-three .image-box {
    z-index: 2;
}

/* Content Column */
.features-section-three .content-column {
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Heading */
.features-section-three h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(36px, 4vw, 48px) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 50px !important;
    line-height: 1.2 !important;
}

.features-section-three h2 span {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-style: italic !important;
    color: #e5a842 !important; /* Override inline red to Gold */
    font-weight: 500 !important;
}

/* Tabs Navigation */
.features-section-three .tab-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 35px !important;
    margin-bottom: 40px !important;
    padding: 0 0 15px 0 !important;
    list-style: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.features-section-three .tab-btn {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.4) !important; /* Dimmed unselected state */
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    position: relative !important;
    transition: all 0.4s ease !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Hide broken flaticon boxes */
.features-section-three .tab-btn i {
    display: none !important;
}

.features-section-three .tab-btn:hover {
    color: rgba(255,255,255,0.8) !important;
}

.features-section-three .tab-btn.active-btn {
    color: #e5a842 !important; /* Gold active state */
}

/* Animated active underline */
.features-section-three .tab-btn::after {
    content: '' !important;
    position: absolute !important;
    bottom: -16px !important; /* Align exactly over the border-bottom */
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #e5a842 !important;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.features-section-three .tab-btn.active-btn::after {
    width: 100% !important;
}

/* Tab Content */
.features-section-three .tabs-content {
    position: relative;
    min-height: 120px;
}

/* Ensure only active tab is visible with smooth fade in */
.features-section-three .tab {
    display: none;
    animation: featureFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.features-section-three .tab.active-tab {
    display: block;
}

@keyframes featureFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fix the red text to elegant light grey */
.features-section-three .text-justify {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 300 !important;
    text-align: left !important;
}

@media (max-width: 991px) {
    .features-section-three .image-column .inner-column {
        padding-right: 0;
        margin-bottom: 50px;
    }
    .features-section-three .image-column .inner-column::before {
        display: none;
    }
    .features-section-three .content-column {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 767px) {
    .features-section-three .tab-buttons {
        gap: 20px !important;
        flex-direction: column !important;
        border-bottom: none !important;
    }
    .features-section-three .tab-btn {
        width: 100% !important;
        text-align: left !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    .features-section-three .tab-btn::after {
        bottom: -1px !important;
    }
    .features-section-three .text-justify {
        font-size: 16px !important;
    }
}

/* --- Premium Testimonial Section --- */
.testimonial-section {
    padding: 140px 0 !important;
    background: #fafafa !important; /* Elegant off-white */
    position: relative;
    overflow: hidden;
}

/* Massive decorative quote mark in background */
.testimonial-section::before {
    content: 'â€œ';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 500px;
    color: rgba(229, 168, 66, 0.04); /* Extremely faint gold */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.testimonial-section .auto-container {
    position: relative;
    z-index: 1;
    max-width: 1000px !important; /* Keep line length optimal for reading */
    margin: 0 auto;
}

/* Fix Owl Carousel Equal Heights */
.testimonial-section .owl-stage {
    display: flex !important;
}
.testimonial-section .owl-item {
    display: flex !important;
    flex: 1 0 auto;
}
.testimonial-section .testimonial-block {
    width: 100%;
    display: flex;
}

.testimonial-section .inner-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 60px 50px;
    background: #ffffff; /* Premium white card */
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.04);
    border-bottom: 5px solid #e5a842; /* Thick gold accent line at bottom */
    margin: 10px 15px; /* Prevent shadow clipping and add spacing */
    transition: transform 0.4s ease;
}

.testimonial-section .inner-box:hover {
    transform: translateY(-5px);
}

.testimonial-section .text {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(18px, 2vw, 24px) !important; /* Noticeably smaller, perfectly readable */
    font-style: italic !important;
    color: #333333 !important; /* Slightly softer than pure black */
    line-height: 1.8 !important;
    margin-bottom: 40px !important;
}

.testimonial-section .info {
    position: relative;
}

/* Golden separator before author name */
.testimonial-section .info::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #e5a842;
    margin: 0 auto 25px;
}

.testimonial-section .name {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #555555 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    margin: 0 !important;
}

/* Elegant Carousel Navigation (Arrows) */
.testimonial-section .owl-nav {
    margin-top: 60px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 25px !important;
    position: static !important; /* Override absolute positioning if any */
}

.testimonial-section .owl-nav button {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 1px solid #dddddd !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.4s ease !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Force clean text arrows in case icon font is broken */
.testimonial-section .owl-nav button.owl-prev::after {
    content: 'â†' !important;
    font-size: 22px;
    margin-bottom: 2px; /* Optical alignment */
}
.testimonial-section .owl-nav button.owl-next::after {
    content: 'â†’' !important;
    font-size: 22px;
    margin-bottom: 2px; /* Optical alignment */
}
.testimonial-section .owl-nav button span {
    display: none !important; /* Hide broken square box span */
}

.testimonial-section .owl-nav button:hover {
    background: #e5a842 !important;
    border-color: #e5a842 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229,168,66,0.2) !important;
}

@media (max-width: 767px) {
    .testimonial-section .inner-box {
        padding: 0 15px;
    }
}

/* --- Premium Clients Section --- */
.clients-section {
    padding: 100px 0 !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.clients-section .sec-title {
    margin-bottom: 60px !important;
    text-align: center !important;
}

.clients-section h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(32px, 4vw, 42px) !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    position: relative;
    padding-bottom: 20px;
}

/* Elegant gold line below heading */
.clients-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e5a842;
}

/* Hide any broken carousel navigation dots or arrows */
.clients-section .owl-dots,
.clients-section .owl-nav {
    display: none !important;
}

/* Sponsors Carousel Logo Boxes */
.clients-section .slide-item {
    padding: 20px !important;
}

.clients-section .image-box {
    text-align: center !important;
    position: relative !important;
    background: #fcfcfc !important; /* Extremely soft grey/white card */
    border-radius: 12px !important;
    padding: 40px 20px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02) !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    transition: all 0.4s ease !important;
    height: 140px; /* Enforce uniform height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients-section .image-box:hover {
    background: #ffffff !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.06) !important;
    transform: translateY(-5px) !important;
    border-color: rgba(229, 168, 66, 0.2) !important;
}

/* Premium Grayscale to Color transition on hover */
.clients-section .image-box img {
    max-width: 100% !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    filter: grayscale(100%) opacity(0.5) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-block !important;
    margin: 0 auto !important;
}

.clients-section .image-box:hover img {
    filter: grayscale(0%) opacity(1) !important;
    transform: scale(1.05) !important;
}

/* Fallback styling for broken alt text (so it doesn't look like red error text) */
.clients-section .image-box a {
    color: #999999 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
}

/* --- Premium Call To Action Section (Floating Banner) --- */
.call-to-action.style-two {
    padding: 0 0 120px 0 !important; /* Remove top padding, keep bottom */
    background: #ffffff !important; /* Blend with the section above */
    position: relative;
    z-index: 10;
    border: none !important;
}

.call-to-action.style-two::before {
    display: none !important; /* Remove the radial glow */
}

.call-to-action.style-two .auto-container {
    position: relative;
    z-index: 1;
}

/* The Floating Banner */
.call-to-action.style-two .outer-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #0f1218 !important; /* Solid premium dark slate */
    border-radius: 24px !important;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15) !important;
    padding: 60px 80px !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    transform: translateY(-50px); /* Float up into the previous section */
}

.call-to-action.style-two .title-column {
    flex: 1;
    padding-right: 40px;
}

.call-to-action.style-two h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(28px, 3vw, 36px) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-style: normal !important;
}

/* Premium Gold Accent on the text */
.call-to-action.style-two h2::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #e5a842;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Sharp, Minimalist Button */
.call-to-action.style-two .btn-style-one {
    background: #ffffff !important;
    color: #0f1218 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 18px 45px !important;
    border-radius: 8px !important; /* Modern sharp corners instead of pills */
    border: none !important;
    box-shadow: 0 10px 30px rgba(255,255,255,0.1) !important;
    transition: all 0.4s ease !important;
    display: inline-block !important;
    white-space: nowrap;
}

.call-to-action.style-two .btn-style-one:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(255,255,255,0.2) !important;
    background: #e5a842 !important; /* Gold on hover */
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .call-to-action.style-two .outer-box {
        flex-direction: column !important;
        text-align: center !important;
        gap: 30px !important;
        padding: 50px 30px !important;
        transform: translateY(-30px);
    }
    .call-to-action.style-two .title-column {
        padding-right: 0;
    }
    .call-to-action.style-two h2::before {
        margin: 0 auto 20px;
    }
}
@