/* THINKCLUSIVE - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors (updated to match Oxence) */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Gradient Colors (Oxence style) */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Neutral Colors */
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Font Family (updated to Oxence fonts) */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Kumbh Sans', sans-serif;
    --font-thai: 'Sarabun', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 15px;
    
    /* Shadow */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50%;
    
    /* Transition */
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    font-weight: 400;
}

/* Mixed font for Thai content */
body.thai {
    font-family: var(--font-thai);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.nav-link .arrow {
    font-size: 0.75rem;
    transition: var(--transition);
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 400;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 2rem;
}

.header-cta {
    margin-left: 2rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--text-white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline-white:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 20px 20px 60px 20px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}


.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 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='%23ffffff' fill-opacity='0.4'%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");
    z-index: 1;
}

/* Add floating shapes */
.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 60px;
    height: 60px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.08);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Wave Animations */
.wave-animation {
    position: absolute;
    width: 200%;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.wave-1 {
    top: -100px;
    left: -50%;
    animation: wave 8s ease-in-out infinite;
}

.wave-2 {
    top: -150px;
    right: -50%;
    animation: wave 10s ease-in-out infinite reverse;
    animation-delay: -2s;
}

.wave-3 {
    bottom: -100px;
    left: -30%;
    animation: wave 12s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
        border-radius: 50%;
    }
    25% {
        transform: translateX(20px) rotate(90deg);
        border-radius: 40% 60% 70% 30%;
    }
    50% {
        transform: translateX(-10px) rotate(180deg);
        border-radius: 70% 30% 40% 60%;
    }
    75% {
        transform: translateX(15px) rotate(270deg);
        border-radius: 30% 70% 60% 40%;
    }
}

/* Particle Container */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particle-float linear infinite;
}

.particle:nth-child(2n) {
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.particle:nth-child(3n) {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Advanced scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}


/* Hero Section Responsive */
@media (max-width: 1200px) {
    .hero-section {
        padding: 20px 15px 50px 15px;
        min-height: 65vh;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 40px 15px;
        min-height: auto;
        text-align: center;
    }
    
    .hero-section .container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 150px;
        padding-top: 150px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 150px;
        padding-top: 150px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
}

/* ===== Animation Classes ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-up {
    animation: slideInUp 0.8s ease-out;
}

.animate-fade-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-fade-right {
    animation: slideInRight 0.8s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}


/* ===== Services Section ===== */
.services-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-secondary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-secondary);
    border-radius: 28px;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(10deg) rotateX(10deg);
}

.service-card:hover .service-icon::before {
    opacity: 0.3;
}

.service-icon i {
    font-size: 3rem;
    color: var(--text-white);
    line-height: 1;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link span {
    transition: var(--transition);
}

.service-link:hover span {
    transform: translateX(5px);
}

/* ===== Why Us Section ===== */
.why-us-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
    animation: slideInUp 0.8s ease-out;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Page Header ===== */
.page-header {
    padding: 120px 0 40px;
    background: var(--gradient-primary);
    color: var(--text-white);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: var(--text-white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(89, 86, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.error-message {
    color: var(--accent-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--accent-color);
}

.form-group.error .error-message {
    display: block;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    background: #48bb78;
    color: white;
    display: block;
}

.form-message.error {
    background: var(--accent-color);
    color: white;
    display: block;
}

/* Contact Info */
.contact-info-wrapper {
    position: sticky;
    top: 100px;
}

.contact-info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--text-light);
    margin: 0;
}

.info-content a {
    color: var(--text-light);
}

.info-content a:hover {
    color: var(--primary-color);
}

/* Quick Contact */
.quick-contact {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.quick-contact h4 {
    margin-bottom: 1rem;
}

.quick-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.quick-btn.phone {
    background: #48bb78;
    color: white;
}

.quick-btn.phone:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.quick-btn.line {
    background: #00C300;
    color: white;
}

.quick-btn.line:hover {
    background: #00a300;
    transform: translateY(-2px);
}

.quick-btn.messenger {
    background: #0084FF;
    color: white;
}

.quick-btn.messenger:hover {
    background: #0074df;
    transform: translateY(-2px);
}

/* ===== Map Section ===== */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-container:hover {
    filter: grayscale(0%);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
}

.footer-widget {
    height: 100%;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact .contact-item i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    min-width: 16px;
}

.footer-contact .contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-benefits {
    margin-top: 1rem;
}

.newsletter-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-benefits .benefit-item i {
    color: var(--success-color);
    font-size: 0.875rem;
}

/* Newsletter GDPR checkbox alignment - moved to newsletter.css */




.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
}

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

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

/* ===== Newsletter ===== */
.newsletter-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.newsletter-form {
    position: relative;
}

.newsletter-input {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-size: 0.9rem;
}

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

.newsletter-input input:focus {
    outline: none;
}

.newsletter-btn {
    background: var(--gradient-secondary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* ===== Privacy Policy Styles ===== */
.privacy-policy-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-intro {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.policy-intro .update-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}

.policy-section h2::before {
    content: counter(section);
    counter-increment: section;
}

.privacy-content {
    counter-reset: section;
}

.policy-section h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.policy-section ul {
    margin: 1rem 0 1rem 2rem;
    list-style-type: none;
}

.policy-section ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.policy-section ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy-section p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.contact-info-box {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
}

.contact-info-box h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info-box a {
    color: var(--text-white);
    text-decoration: underline;
}

.contact-info-box a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.policy-footer {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 3rem;
    text-align: center;
    border: 2px dashed var(--border-color);
}

.policy-footer .update-note {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.policy-footer .last-updated {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== About Us Page Styles ===== */
.about-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-stats {
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-item small {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mission Vision Values */
.mvv-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon i {
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-full);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Section */
.team-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--bg-light);
    color: var(--text-medium);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Service Cards for About Page */
.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Awards Section */
.award-item {
    padding: 1.5rem;
}

.award-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.award-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Company Culture */
.culture-values {
    margin-top: 2rem;
}

.value-item {
    align-items: flex-start;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.value-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Location Section */
.location-info {
    padding: 1rem;
}

.info-item {
    align-items: flex-start;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.info-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

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

.btn-outline-white:hover {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: var(--text-white);
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .about-stats {
        margin-top: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card,
    .mvv-card {
        padding: 1.5rem;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 0.5rem 0;
    }
    
    .culture-values .value-item {
        margin-bottom: 1.5rem;
    }
}

/* Responsive adjustments for privacy policy */
@media (max-width: 768px) {
    .privacy-content {
        padding: 0 1rem;
    }
    
    .policy-intro,
    .contact-info-box,
    .policy-footer {
        padding: 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section ul {
        margin-left: 1rem;
    }
    
    .policy-section ul li {
        padding-left: 1rem;
    }
}

/* ===== Amazing Features Section ===== */
.amazing-features-section {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
}

.amazing-features-section .container {
    max-width: 1440px;
}

.amazing-features-section .section-header {
    margin-bottom: 3rem;
}

.header-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.header-badge .dots {
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.6;
}

.header-badge .badge-text {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-family: var(--font-heading);
}

.amazing-features-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
    font-family: var(--font-heading);
}

/* Features Grid */
.amazing-features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(6, 220px);
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* Feature Card */
.feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 237px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Active Feature Card */
.feature-card.active {
    background: rgba(139, 69, 19, 0.8);
    color: var(--text-white);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.3);
}

.feature-card.active .feature-icon {
    color: var(--text-white);
}

.feature-card.active h5 {
    color: var(--text-white);
}

/* Feature Icon */
.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon i[class*="flaticon"]:before {
    font-family: flaticon !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 48px;
    color: #FF6B00;
    -webkit-text-fill-color: #FF6B00;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card:hover .feature-icon i[class*="flaticon"]:before {
    color: #6366F1;
    -webkit-text-fill-color: #6366F1;
}

.feature-card.active .feature-icon i[class*="flaticon"]:before {
    color: var(--text-white);
    -webkit-text-fill-color: var(--text-white);
}

.feature-card.active:hover .feature-icon i[class*="flaticon"]:before {
    color: var(--text-white);
}

/* Feature Title */
.feature-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.5;
    font-family: var(--font-heading);
}

/* Responsive Design */
@media (max-width: 1440px) {
    .amazing-features-section .features-grid {
        grid-template-columns: repeat(6, 200px);
    }
}

@media (max-width: 768px) {
    .amazing-features-section {
        padding: 60px 0;
    }
    
    .amazing-features-section .section-title {
        font-size: 2rem;
    }
    
    .amazing-features-section .features-grid {
        grid-template-columns: repeat(3, 200px);
        gap: 1rem;
    }
    
    .feature-card {
        height: 200px;
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-card h5 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .amazing-features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-card {
        height: auto;
        min-height: 180px;
        padding: 20px 15px;
    }
}

/* ===== Cards Section ===== */
.cards-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.simple-card {
    background: #f5f5f5;
    border-radius: 15px;
    height: 200px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    cursor: pointer;
}

.simple-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    margin-bottom: 1rem;
}

.card-icon i[class*="flaticon"]:before {
    font-family: flaticon !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 40px;
    color: #7C7EF2;
}

.simple-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    font-family: var(--font-heading);
}

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

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .simple-card {
        height: 150px;
    }
}

/* Footer Logo Styles */
.footer-logo-img {
    filter: brightness(0) invert(1);
}

/* Mobile Menu CTA Button Styles */
.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    /* Show mobile CTA button in menu */
    .mobile-cta {
        display: block;
        margin-top: 10px;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Hide desktop CTA button */
    .header-cta {
        display: none !important;
    }
    
    /* Add padding to main content to prevent menu overlap */
    .main-content {
        padding-top: 80px;
    }
    
    /* Ensure hero section has enough top padding */
    .hero-section {
        padding: 120px 0 60px 0;
    }
    
    /* Company intro section padding adjustment */
    .company-intro {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Additional mobile adjustments */
    .main-content {
        padding-top: 70px;
    }
}

/* ===== About Page Enhancements ===== */
.results-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.result-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.result-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.result-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Success Stories Styles */
.success-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.success-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.client-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.client-type {
    font-size: 0.9rem;
    font-weight: 500;
}

.result-highlight {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-heading);
}

.result-detail {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.success-quote {
    font-style: italic;
    color: var(--text-medium);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Digital Insights Box */
.digital-insights {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
}

.digital-insights h6 {
    color: var(--primary-color);
}

.digital-insights li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

/* Enhanced Timeline Styles */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-year {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.timeline-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Team Card Enhancements */
.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--bg-light);
    color: var(--text-medium);
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: var(--transition);
    text-decoration: none;
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* About Page Responsive */
@media (max-width: 768px) {
    .result-number {
        font-size: 2.5rem;
    }
    
    .result-highlight {
        font-size: 1.5rem;
    }
    
    .success-card,
    .result-item,
    .team-card {
        margin-bottom: 1.5rem;
    }
}

/* ===== Admin Settings Menu Visibility ===== */
/* Seamless menu visibility transitions */
.navbar-nav .nav-item {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Ensure smooth transitions when menu items are hidden/shown */
.navbar-nav .nav-item[style*="display: none"] {
    opacity: 0;
    visibility: hidden;
}

/* Prevent layout shift when menu items are hidden */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    /* Maintain spacing consistency */
    .navbar-nav .nav-item:not(:last-child) {
        margin-right: 0;
    }
}

/* Mobile responsive adjustments for hidden menu items */
@media (max-width: 991.98px) {
    .navbar-collapse .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Smooth mobile menu transitions */
    .navbar-collapse .nav-item {
        animation: fadeInUp 0.3s ease-in-out;
    }
}

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