/*
 * IBCO Website - Premium Stylesheet
 * Modern, Elegant, Animated Design
 */

/* =========================================
   CSS Variables
   ========================================= */
:root {
    /* Colors */
    --ibco-blue: #0033cc;
    --ibco-dark: #001a66;
    --ibco-light: #4d79ff;
    --ibco-gold: #fbbf24;
    --ibco-accent: #0ea5e9;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0033cc 0%, #001a66 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #0033cc 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

    /* Neutral */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Font */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 51, 204, 0.3);
    --shadow-gold: 0 10px 40px rgba(251, 191, 36, 0.3);

    /* Radius */
    --radius: 0.75rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* =========================================
   Base
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--gray-50);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ibco-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--ibco-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 51, 204, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 51, 204, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    min-height: 80px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo img {
    height: 45px;
}

.navbar-logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--ibco-blue);
}

.navbar-logo-text span {
    color: var(--ibco-gold);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--ibco-blue);
    background: rgba(0, 51, 204, 0.05);
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

.lang-switcher a {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-500);
    border-radius: var(--radius-full);
}

.lang-switcher a.active {
    background: white;
    color: var(--ibco-blue);
    box-shadow: var(--shadow-sm);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

.navbar-toggle span {
    width: 20px;
    height: 2px;
    background: var(--ibco-blue);
    border-radius: 2px;
}

@media (max-width: 991px) {
    .navbar-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .navbar-toggle span {
        transition: all 0.3s ease;
    }

    .navbar-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        height: calc(100vh - 80px);
        min-height: 400px;
        flex-direction: column;
        background: white;
        padding: 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    }

    .navbar-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-links {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 0;
    }

    .navbar-links li {
        list-style: none;
    }

    .navbar-links a {
        padding: 1rem 1.25rem;
        background: var(--gray-50);
        border-radius: var(--radius);
        margin-bottom: 0.5rem;
        justify-content: flex-start;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--gray-700);
    }

    .navbar-links a:hover,
    .navbar-links a.active {
        background: var(--ibco-blue);
        color: white;
    }

    .navbar-links a i {
        width: 20px;
        text-align: center;
    }

    .lang-switcher {
        margin-top: 1.5rem;
        align-self: flex-start;
    }

    /* Mobile Hero - Left aligned */
    .hero {
        padding: 100px 0 60px;
        text-align: left;
    }

    .hero-content {
        text-align: left;
    }

    .hero-badge {
        margin-left: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
        gap: 1.5rem;
    }

    .hero-stat {
        text-align: left;
    }

    /* Mobile Sections - Left aligned */
    .section-header {
        text-align: left;
        margin-left: 0;
    }

    .section-badge {
        display: inline-block;
    }

    /* Mobile Cards */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        text-align: left;
    }

    .feature-icon {
        margin: 0 0 1rem 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =========================================
   HERO SECTION - Premium Animated
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
    padding: 100px 0 60px;
}

/* Background shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--ibco-light);
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--ibco-gold);
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    top: 50%;
    left: 30%;
    width: 300px;
    height: 300px;
    background: var(--ibco-accent);
    animation: float 6s ease-in-out infinite 1s;
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Hero Row - Two Columns */
.hero-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 991px) {
    .hero-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-content {
    max-width: 600px;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gradient-gold);
    color: var(--ibco-dark);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius);
    box-shadow: var(--shadow-gold);
}

.hero-image-badge i {
    font-size: 1rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dots .dot.active {
    background: var(--ibco-gold);
    transform: scale(1.2);
}

.hero-slider-dots .dot:hover {
    background: var(--ibco-gold);
}

@media (max-width: 991px) {
    .hero-image {
        order: -1;
    }

    .hero-slider {
        max-width: 350px;
    }
}

/* Hero Background Image Overlay */
.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1200&q=80') center/cover no-repeat;
    opacity: 0.1;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(251, 191, 36, 0.2);
    color: var(--ibco-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    border: 1px solid rgba(251, 191, 36, 0.3);
    margin-bottom: 1.5rem;
}

/* Hero Title - Animated lines */
.hero-title {
    margin: 0 0 1.5rem;
    line-height: 1.1;
}

.title-line {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.title-gradient {
    background: linear-gradient(135deg, #93c5fd, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Description */
.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    max-width: 550px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--ibco-gold);
    line-height: 1;
}

.stat-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    animation: scroll 1.5s ease infinite;
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: var(--ibco-blue);
}

.btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--ibco-dark);
    border: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-blue {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* =========================================
   Sections
   ========================================= */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--gradient-dark);
    color: white;
}

.section-light {
    background: linear-gradient(180deg, white, var(--gray-50));
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ibco-blue);
    background: rgba(0, 51, 204, 0.1);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-dark .section-badge {
    background: rgba(251, 191, 36, 0.2);
    color: var(--ibco-gold);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--gray-900);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    margin: 0;
}

.section-dark .section-subtitle {
    color: var(--gray-400);
}

/* =========================================
   Service Cards
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 51, 204, 0.15);
    border-color: var(--ibco-blue);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
}

.service-card:hover .service-icon i {
    color: white;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #f0f4ff);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--ibco-blue);
    transition: var(--transition);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 0.5rem;
}

.service-description {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.7;
}

/* =========================================
   Feature Cards
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--ibco-dark);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem;
}

.feature-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* =========================================
   Portfolio
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 26, 102, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ibco-gold);
    margin-bottom: 0.25rem;
}

.portfolio-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: white;
    margin: 0;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-item-icon i {
    color: var(--ibco-gold);
}

.contact-item-content h4 {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.25rem;
}

.contact-item-content p,
.contact-item-content a {
    font-size: 0.95rem;
    color: white;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--ibco-blue);
    background: white;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 575px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--gradient-dark);
    color: var(--gray-400);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 45px;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}

.footer-logo-text span {
    color: var(--ibco-gold);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--ibco-blue);
    color: white;
}

.footer-title {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: white;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--ibco-gold);
    margin-top: 0.25rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
}

/* =========================================
   WhatsApp Float
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    font-size: 1.75rem;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* =========================================
   Back to Top
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* =========================================
   Alerts
   ========================================= */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--ibco-gold);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--ibco-gold);
    font-size: 0.9rem;
    margin-right: 2px;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ibco-dark);
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin: 0;
}

/* =========================================
   Newsletter
   ========================================= */
.newsletter-box {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem;
}

.newsletter-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--ibco-gold);
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Blog
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--ibco-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0 0 1rem;
    line-height: 1.7;
}

.blog-link {
    color: var(--ibco-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--ibco-gold);
    gap: 0.75rem;
}

/* =========================================
   Gallery
   ========================================= */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--gray-200);
    background: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--ibco-blue);
    border-color: var(--ibco-blue);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 204, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
}

.gallery-overlay span {
    font-weight: 600;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================= 
   Utility
   ========================================= */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 2.5rem;
}