/* ===== AOS ANIMATION OVERRIDE ===== */
/* إلغاء حركة الرفع والانزلاق — fade فقط */
[data-aos="fade-up"],
[data-aos="fade-down"],
[data-aos="fade-left"],
[data-aos="fade-right"],
[data-aos="zoom-in"],
[data-aos="zoom-out"],
[data-aos="flip-up"],
[data-aos="flip-down"] {
    transform: none !important;
}

[data-aos="fade-up"].aos-animate,
[data-aos="fade-down"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="fade-right"].aos-animate,
[data-aos="zoom-in"].aos-animate,
[data-aos="zoom-out"].aos-animate,
[data-aos="flip-up"].aos-animate,
[data-aos="flip-down"].aos-animate {
    transform: none !important;
    opacity: 1 !important;
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1B2A4A;
    --primary-light: #2A3F6E;
    --primary-dark: #0F1A30;
    --accent: #E8853B;
    --accent-light: #F5A862;
    --accent-dark: #D16F28;
    --accent-gradient: linear-gradient(135deg, #E8853B, #F5A862);
    --secondary: #F0C040;
    --bg-light: #FAFAF8;
    --bg-white: #ffffff;
    --bg-cream: #FFF8F0;
    --text-dark: #1a1a2e;
    --text-body: #555;
    --text-muted: #888;
    --text-white: #ffffff;
    --border: #e8e8e8;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(232, 133, 59, 0.35);
    }

    50% {
        box-shadow: 0 4px 30px rgba(232, 133, 59, 0.55), 0 0 60px rgba(232, 133, 59, 0.15);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes typewriter-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

html::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari / Opera */
}

body {
    font-family: var(--font-main);
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.is-navigating,
body.is-navigating a,
body.is-navigating button {
    cursor: progress !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-accent {
    background: var(--accent-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.35);
}



.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.text-right {
    text-align: right;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(232, 133, 59, 0.12), rgba(232, 133, 59, 0.05));
    color: var(--accent);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(232, 133, 59, 0.15);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header.text-right .section-subtitle {
    margin: 0;
}

/* ===== TOP BANNER ===== */
.top-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--text-white);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    font-size: 0.9rem;
}

.top-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.top-banner p {
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

.top-banner p i {
    color: var(--secondary);
    margin-left: 6px;
}

.top-banner p strong {
    color: var(--secondary);
}

.top-banner p a {
    color: var(--accent-light);
    text-decoration: underline;
    font-weight: 700;
}

.top-banner-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    line-height: 1;
}

.top-banner-close:hover {
    color: var(--text-white);
}

.top-banner.hidden {
    display: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    z-index: 10;
}

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

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 900;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 4px 12px rgba(232, 133, 59, 0.35);
}

/* ===== LOGO IMAGE ===== */
.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.footer-logo .logo-img {
    height: 95px;
    filter: brightness(1);
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-body);
}

.nav-links a.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-links a.active {
    color: var(--accent);
    background: rgba(232, 133, 59, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-nav {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--text-white);
}

.navbar.scrolled .btn-nav {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.hamburger span {
    width: 25px;
    height: 2.5px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--primary);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #152238 25%, var(--primary) 50%, var(--primary-light) 75%, #1d3461 100%);
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-light), transparent 70%);
    top: 50%;
    left: 30%;
    animation: float 6s ease-in-out infinite 1s;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: var(--text-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(232, 133, 59, 0.2);
    border: 1px solid rgba(232, 133, 59, 0.3);
    border-radius: var(--radius-xl);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 90px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--secondary);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #F5A862, #FFD700, #E8853B);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: shimmer 4s linear infinite;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats-mini {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-avatars {
    display: flex;
    align-items: center;
}

.stat-avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-left: -10px;
    object-fit: cover;
}

.stat-avatars img:first-child {
    margin-left: 0;
}

.stat-avatar-more {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 3px solid var(--primary);
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

.stat-mini-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
}

.hero-img-wrapper img {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    margin: 0 auto;
    object-fit: contain;
    height: 550px;
}

.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatSlow 5s ease-in-out infinite;
}

.card-2 {
    animation-delay: 1.5s;
}

.hero-floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 20%;
    right: -30px;
}

.card-1 i {
    color: #27AE60;
}

.card-2 {
    bottom: 20%;
    left: -30px;
}

.card-2 i {
    color: var(--accent);
}

.hero-floating-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.hero-floating-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:nth-child(2)::before {
    background: linear-gradient(135deg, #E8853B, #FFB347);
}

.service-card:nth-child(3)::before {
    background: linear-gradient(135deg, #27AE60, #6FCF97);
}

.service-card:nth-child(4)::before {
    background: linear-gradient(135deg, #6B4AEB, #9B8FFF);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(27, 42, 74, 0.08), rgba(27, 42, 74, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.4s ease;
}

.service-icon img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 10px;
}

.service-icon.icon-orange {
    background: linear-gradient(145deg, rgba(232, 133, 59, 0.12), rgba(232, 133, 59, 0.04));
    color: var(--accent);
}

.service-icon.icon-green {
    background: linear-gradient(145deg, rgba(39, 174, 96, 0.12), rgba(39, 174, 96, 0.04));
    color: #27AE60;
}

.service-icon.icon-purple {
    background: linear-gradient(145deg, rgba(107, 74, 235, 0.12), rgba(107, 74, 235, 0.04));
    color: #6B4AEB;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}



.services-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-cream) 0%, #fff5eb 50%, var(--bg-cream) 100%);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8853b' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.how-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.how-img-wrapper {
    position: relative;
}

.how-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.35);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
    cursor: default;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(232, 133, 59, 0.3);
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== COMPANIES ===== */
.companies {
    padding: 60px 0;
    background: var(--bg-white);
    overflow: hidden;
}

.companies-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.companies-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    height: 140px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    display: inline-block;
}

.about-blob {
    display: none;
}

.about-img-wrapper img {
    width: 400px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.about-stats {
    display: flex;
    gap: 25px;
    margin-top: 30px;
}

.about-stat {
    text-align: center;
    padding: 15px;
    flex: 1;
}

.about-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.about-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-body);
    margin-bottom: 30px;
}

.about-process {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: var(--radius-md);
}

.process-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.process-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.process-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 100px 0;
    background-color: var(--bg-cream); /* #FFF8F0 */
    background-image: 
        radial-gradient(at 8% 12%, rgba(232, 133, 59, 0.12) 0px, transparent 50%),
        radial-gradient(at 92% 88%, rgba(27, 42, 74, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(240, 192, 64, 0.06) 0px, transparent 50%),
        radial-gradient(at 10% 90%, rgba(39, 174, 96, 0.04) 0px, transparent 50%);
    overflow: hidden;
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(27, 42, 74, 0.07) 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    z-index: 0;
    opacity: 0.8;
}



.portfolio .container {
    position: relative;
    z-index: 2;
}


.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.portfolio-card {
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 42, 74, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(232, 133, 59, 0.1);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.content-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(27, 42, 74, 0.03), rgba(27, 42, 74, 0.05));
    border: 1px solid rgba(27, 42, 74, 0.09);
    max-width: 100%;
    width: fit-content;
}

.content-partner-logo-wrap {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    border: 1px solid rgba(27, 42, 74, 0.1);
    box-shadow: 0 4px 14px rgba(27, 42, 74, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.content-partner-logo {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.content-partner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.content-partner-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
}

.content-partner-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.portfolio-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* ===== BLOG ===== */
.blog {
    padding: 100px 0;
    background: var(--bg-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-body);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content {
    padding: 25px;
}

.blog-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.blog-tag {
    padding: 3px 10px;
    background: var(--bg-cream);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content h4 {
    margin-bottom: 10px;
}

.blog-content h4 a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
}



.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}



/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.92), rgba(15, 26, 48, 0.95));
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 35px;
}

.cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-form input:focus,
.cta-form textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.cta-form textarea {
    margin-bottom: 15px;
    resize: vertical;
    min-height: 100px;
}

.cta-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.05rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

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

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 18px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo-text {
    color: var(--text-white);
}

.footer-about p {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-newsletter h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    font-family: var(--font-main);
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 12px 18px;
    background: var(--accent-gradient);
    border: none;
    color: white;
    cursor: pointer;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

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

    .hero-description {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats-mini {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-img-wrapper img {
        height: 400px;
        max-width: 350px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-content {
        grid-template-columns: 1fr;
    }

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

    .section-header.text-right {
        text-align: center;
    }

    .section-header.text-right .section-subtitle {
        margin: 0 auto;
    }

    .about-img-wrapper {
        display: flex;
        justify-content: center;
    }

    .about-stats {
        justify-content: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about,
    .services,
    .browse-categories-section,
    .portfolio,
    .blog,
    .testimonials,
    .how-it-works,
    .cta-section,
    .contact-info-section {
        padding: 58px 0;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .services-cta,
    .portfolio-cta,
    .contact-cards-grid {
        margin-top: 30px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 160px 30px 30px;
        transition: right 0.4s ease;
        box-shadow: var(--shadow-xl);
        z-index: 1050;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        touch-action: pan-y;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 40px;
        right: 50%;
        transform: translateX(50%);
        width: 100px;
        height: 100px;
        background: url('../images/logo/logo.jpeg') center/contain no-repeat;
        border-radius: 14px;
        background-color: white;
        padding: 5px;
    }

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


    .nav-links a {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        display: block;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .btn-nav {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        margin-top: 10px;
    }

    .hero-img-wrapper img {
        height: 350px;
        max-width: 300px;
    }

    .hero-floating-card {
        display: none;
    }

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

    .portfolio-grid,
    .blog-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .portfolio-grid::-webkit-scrollbar,
    .blog-grid::-webkit-scrollbar {
        display: none;
    }

    .portfolio-card,
    .blog-card {
        flex: 0 0 82vw;
        max-width: 82vw;
        scroll-snap-align: start;
    }

    .testimonials-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 82vw;
        max-width: 82vw;
        scroll-snap-align: start;
    }

    .cta-form-row {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .top-banner {
        font-size: 0.8rem;
        padding: 8px 0;
    }

    .top-banner-content {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .about,
    .services,
    .browse-categories-section,
    .portfolio,
    .blog,
    .testimonials,
    .how-it-works,
    .cta-section,
    .contact-info-section {
        padding: 46px 0;
    }

    .section-header {
        margin-bottom: 26px;
    }

    .services-cta,
    .portfolio-cta,
    .contact-cards-grid {
        margin-top: 22px;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    .about-stat strong {
        font-size: 1.4rem;
    }

    .top-banner {
        font-size: 0.75rem;
    }
}

/* ============================================
   BROWSE CATEGORIES GLASS SECTIONS
   ============================================ */
.browse-categories-section {
    position: relative;
    padding: 90px 0;
    background-color: var(--bg-cream); /* #FFF8F0 */
    background-image:
        radial-gradient(at 8% 12%, rgba(232, 133, 59, 0.12) 0px, transparent 50%),
        radial-gradient(at 92% 88%, rgba(27, 42, 74, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(240, 192, 64, 0.06) 0px, transparent 50%),
        radial-gradient(at 10% 90%, rgba(39, 174, 96, 0.04) 0px, transparent 50%);
    overflow: hidden;
}

.browse-categories-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(27, 42, 74, 0.07) 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

.browse-categories-section-alt {
    background: var(--bg-white);
}

.browse-categories-section-alt::before {
    background: none;
}

.browse-categories-section-white {
    background: var(--bg-white);
}

.browse-categories-section-white::before {
    background: none;
}

.browse-categories-section .container,
.browse-categories-section-alt .container {
    position: relative;
    z-index: 2;
}

.glass-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
}

.glass-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 380px;
    padding: 25px;
    border-radius: 12px;
    background: #333;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.glass-category-card::before {
    display: none;
}

.glass-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.glass-category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.glass-category-card:hover .glass-category-bg {
    transform: scale(1.08);
}

.glass-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: opacity 0.35s ease;
}

.glass-category-card:hover .glass-category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0) 100%);
}

.glass-category-fallback-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #444, #222);
    color: rgba(255, 255, 255, 0.1);
    font-size: 6rem;
    z-index: 1;
    transition: transform 0.5s ease;
}

.glass-category-card:hover .glass-category-fallback-bg {
    transform: scale(1.08);
}

.glass-category-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: 100%;
}

.glass-category-kicker {
    display: none;
}

.glass-category-content h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.glass-category-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.glass-category-action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.glass-category-action span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.glass-category-card:hover .glass-category-action span {
    color: var(--accent, #ffd2b3);
}

.glass-category-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed rgba(27, 42, 74, 0.18);
    color: var(--text-muted);
    backdrop-filter: blur(12px);
}

.glass-category-empty i {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 14px;
}

@media (max-width: 1024px) {
    .glass-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .browse-categories-section {
        padding: 70px 0;
    }

    .glass-category-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .glass-category-grid::-webkit-scrollbar {
        display: none;
    }

    .glass-category-card {
        flex: 0 0 82vw;
        max-width: 82vw;
        height: 320px;
        scroll-snap-align: start;
    }
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        bottom: 90px;
        left: 20px;
    }
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #fffaf5 100%);
}

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

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(27, 42, 74, 0.08);
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
    text-align: right;
    overflow-wrap: anywhere;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
    --contact-icon-size: clamp(34px, 8vw, 42px);
    width: var(--contact-icon-size);
    min-width: var(--contact-icon-size);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    align-self: center;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B2A4A 0%, #2d4a7c 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    transition: all 0.3s ease;
}

.contact-card-icon.icon-green {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-card-icon.icon-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
}

.contact-card-icon.icon-blue {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
}

.contact-card-icon.icon-pink {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    text-align: right;
}

.contact-card a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: block;
    text-align: right;
}

.contact-card a:hover {
    color: var(--accent);
}

.contact-card-content {
    flex: 1;
    text-align: right;
}

@media (max-width: 768px) {
    .contact-info-section {
        padding: 70px 0;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 24px 20px;
        gap: 16px;
    }

    .contact-card h3 {
        font-size: 1.12rem;
    }

    .contact-card a {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 20px 16px;
        gap: 14px;
        align-items: flex-start;
    }

    .contact-card-icon {
        --contact-icon-size: 36px;
        font-size: 0.9rem;
    }
}
