/* CSS Variables */
:root {
    /* Colors */
    --primary-blue: #1a237e;
    --secondary-blue: #283593;
    --accent-blue: #3949ab;
    --light-blue: #42a5f5;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    
    /* Main Colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f5f5f5;
    --bg-dark: #2c3e50;
    
    /* Text Colors */
    --text-muted: #999999;
    
    /* Status Colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    
    /* Border Colors */
    --border-light: #dee2e6;
    --border-dark: #343a40;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Montserrat:wght@400;600;700&display=swap');

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Language Loader */
.language-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.language-loader .spinner-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: var(--spacing-md);
}

.language-loader .spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.language-loader .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 2px 4px var(--shadow-light);
}

.language-loader .loading-text {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: var(--spacing-sm);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Language Message */
.language-message {
    position: fixed;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 5px var(--shadow-dark);
    z-index: 9998;
    animation: slideUp 0.3s ease-out, fadeOut 0.3s ease-out 1.7s;
}

@keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    padding-right: 0;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}

[dir="rtl"] .social-links a {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .language-switch a {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .top-bar-right {
    text-align: left;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Mobile RTL Support */
@media (max-width: 768px) {
    [dir="rtl"] .hero h1,
    [dir="rtl"] .hero p,
    [dir="rtl"] .services-title h2,
    [dir="rtl"] .services-title p,
    [dir="rtl"] .about-modern-title,
    [dir="rtl"] .about-modern-desc,
    [dir="rtl"] .about-modern-card-title,
    [dir="rtl"] .about-modern-card-desc,
    [dir="rtl"] .footer-col h3,
    [dir="rtl"] .footer-contact li,
    [dir="rtl"] .footer-links a,
    [dir="rtl"] .footer-bottom {
        text-align: center !important;
    }

    [dir="rtl"] .services-title,
    [dir="rtl"] .about-modern-left,
    [dir="rtl"] .about-modern-cards,
    [dir="rtl"] .footer-main-row {
        text-align: center !important;
    }

    [dir="rtl"] .about-modern-card {
        text-align: center !important;
    }

    [dir="rtl"] .footer-logo-section {
        text-align: center !important;
    }

    [dir="rtl"] .footer-logo-wrapper {
        justify-content: center !important;
    }

    [dir="rtl"] .footer-gallery {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Ensure RTL text alignment for larger screens */
@media (min-width: 769px) {
    [dir="rtl"] .hero h1,
    [dir="rtl"] .hero p,
    [dir="rtl"] .services-title h2,
    [dir="rtl"] .services-title p,
    [dir="rtl"] .about-modern-title,
    [dir="rtl"] .about-modern-desc,
    [dir="rtl"] .about-modern-card-title,
    [dir="rtl"] .about-modern-card-desc,
    [dir="rtl"] .footer-col h3,
    [dir="rtl"] .footer-contact li,
    [dir="rtl"] .footer-links a,
    [dir="rtl"] .footer-bottom {
        text-align: right;
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(45, 54, 145, 0.16);
}

.social-links a {
    color: var(--text-light);
    margin-right: var(--spacing-md);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--light-blue);
}

.top-bar-right {
    text-align: right;
}

.language-switch a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.language-switch a.active {
    background-color: var(--secondary-blue);
}

.language-switch a:hover {
    background-color: var(--accent-blue);
}

/* Hero Section */
.hero {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    height: 75vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: calc(4rem - 30px);
    position: relative;
    top: -30px;
}

/* Animated Title Styles */
.hero h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    transform: translateY(calc(2rem - 3px));
}

.hero h1 .title-text {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 1rem;
}

.hero h1 .title-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--itcc-yellow), #ffd700);
    box-shadow: 0 0 15px var(--itcc-yellow);
    animation: slideIn 1s ease-out forwards;
    animation-delay: 3s;
    border-radius: 3px;
}

.welcome-text {
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
    font-size: 5.5rem;
    color: #fff;
    letter-spacing: 0.04em;
    margin-right: 15px;
    text-transform: none;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.itcc-text {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    margin-left: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.itcc-text .letter {
    display: inline-block;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 0.4s forwards;
    font-size: 1.2em;
    position: relative;
}

/* Individual letter colors */
.itcc-text .letter:nth-child(1) { 
    animation-delay: 1.2s;
    background: linear-gradient(45deg, #1a237e, #3949ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(26,35,126,0.3);
}

.itcc-text .letter:nth-child(2) { 
    animation-delay: 1.4s;
    background: linear-gradient(45deg, #1a237e, #3949ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(26,35,126,0.3);
}

.itcc-text .letter:nth-child(3) { 
    animation-delay: 1.6s;
    background: linear-gradient(45deg, #1a237e, #3949ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(26,35,126,0.3);
}

.itcc-text .letter:nth-child(4) { 
    animation-delay: 1.8s;
    background: linear-gradient(45deg, #ffd600, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(255,214,0,0.3);
}

.itcc-text .letter::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--itcc-yellow);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.03;
    z-index: 1;
}

.services-container {
    position: relative;
    z-index: 2;
}

.services-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.services-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-title h2.animate {
    opacity: 1;
    transform: translateY(0);
}

.services-title p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.services-title p.animate {
    opacity: 1;
    transform: translateY(0);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-50px);
}

.service-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(255, 214, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 35, 126, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.service-card.animate .service-icon {
    opacity: 1;
    transform: scale(1);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(26, 35, 126, 0.15));
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.service-card.animate .service-content h3 {
    opacity: 1;
    transform: translateY(0);
}

.service-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.service-card.animate .service-content p {
    opacity: 1;
    transform: translateY(0);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 500;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.service-card.animate .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-link:hover {
    color: var(--accent-blue);
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }

    .services-title h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }
}

/* Animation Delays */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
}

.about h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xl);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

footer h3 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-right {
        text-align: left;
        margin-top: var(--spacing-sm);
    }
    
    .hero {
        height: auto;
        min-height: 320px;
        padding-top: 2rem;
        padding-bottom: calc(3rem - 30px);
        top: -30px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        transform: translateY(calc(1rem - 3px));
    }
    
    .hero h1 .title-text {
        margin-bottom: 0.5rem;
    }
    
    .welcome-text {
        font-size: 0.8em;
    }
    
    .itcc-text .letter {
        font-size: 1.1em;
    }
    
    [dir="rtl"] .top-bar-right {
        text-align: right;
    }
    
    .language-message {
        width: 90%;
        text-align: center;
    }
    
    .hero-bg-wrapper {
        margin-bottom: -30px;
    }
}

/* Wrapper for background image */
.hero-bg-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 30, 60, 0.85);
    z-index: 1;
}

.hero-bg-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    min-height: 600px;
}

.hero {
    background: transparent;
    padding-top: 4rem;
    padding-bottom: 10rem;
}

.hero, .hero h1, .hero p {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Remove all navbar and topbar related styles */

/* Dots Animation Styles */
.dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    height: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--itcc-yellow);
    border-radius: 50%;
    opacity: 0;
    position: relative;
    box-shadow: 0 0 10px var(--itcc-yellow);
}

.dot-1 {
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue);
}
.dot-3, .dot-2 {
    background: var(--itcc-yellow);
    box-shadow: 0 0 10px var(--itcc-yellow);
}

.dot-1 {
    animation: dot1Appear 0.3s forwards;
    animation-delay: 3.5s;
}

.dot-2, .dot-3 {
    /* Remove animation properties, will be handled by JS */
    animation: none !important;
}

.dot.dot-active {
    opacity: 1 !important;
    transform: scale(1);
    transition: opacity 0.4s, transform 0.4s;
}

.dot.dot-move {
    transform: translateX(60px) scale(1.2);
    transition: transform 0.7s cubic-bezier(.4,2,.6,1);
}

.dot.dot-back {
    transform: translateX(0) scale(1);
    transition: transform 0.7s cubic-bezier(.4,2,.6,1);
}

@keyframes dot1Appear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tagline Styles */
.tagline {
    opacity: 0;
    transform: translateY(20px);
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-top: 20px;
    text-align: center;
    width: 100%;
    display: block;
}

/* RTL Support for Tagline */
html[dir="rtl"] .tagline {
    text-align: center;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 1.2rem;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1.1rem;
        margin-top: 12px;
    }
}

.dot-yellow {
    background: var(--itcc-yellow) !important;
    box-shadow: 0 0 10px var(--itcc-yellow) !important;
}
.dot-blue {
    background: var(--primary-blue) !important;
    box-shadow: 0 0 10px var(--primary-blue) !important;
}

.dot-pulse {
    animation: dotPulse 0.7s cubic-bezier(.4,2,.6,1) 1;
    box-shadow: 0 0 24px 8px var(--primary-blue), 0 0 40px 12px var(--primary-blue);
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px var(--primary-blue);
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 32px 12px var(--primary-blue);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 24px 8px var(--primary-blue);
    }
}

.letter-itcc-1, .letter-itcc-2, .letter-itcc-3 {
    background: linear-gradient(45deg, #1a237e, #3949ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(26,35,126,0.3);
}
.letter-itcc-4 {
    background: linear-gradient(45deg, #ffd600, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(255,214,0,0.3);
}

/* Navbar Styles */
.navbar {
    padding: 0.5rem 0 !important;
    z-index: 1050 !important;
}

.navbar-nav {
    gap: 0.3rem !important;
}

.nav-link {
    padding: 0.3rem 0.7rem !important;
    font-size: 0.9rem !important;
}

.dropdown-menu {
    margin-top: 0.3rem !important;
    padding: 0.3rem 0 !important;
    z-index: 1060 !important;
}

.dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
}

/* Z-index Hierarchy */
.navbar {
    z-index: 1050 !important;
}

.dropdown-menu {
    z-index: 1060 !important;
}

.hero-bg-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 30, 60, 0.85);
    z-index: 1;
}

.hero-bg-wrapper > *:not(.hero-bg-video) {
    position: relative;
    z-index: 2;
}

.hero-bg-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Ensure dropdown stays above on mobile */
@media (max-width: 992px) {
    .dropdown-menu {
        z-index: 1060 !important;
    }
    
    .navbar-collapse {
        z-index: 1055 !important;
    }
}

/* Services Section Vertical Style */
.services-section.services-vertical {
    position: relative;
    background: none;
    padding: 0;
    min-height: 600px;
}
.services-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../images/hero-bg.jpg') center center/cover no-repeat;
    z-index: 1;
}
.services-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--primary-blue, #1a237e) 0%, rgba(26,35,126,0.7) 60%, rgba(255,255,255,0.0) 100%);
    z-index: 2;
}
.services-container {
    position: relative;
    z-index: 3;
    padding: 4rem 0 4rem 0;
}
.services-title {
    color: var(--text-light);
    text-align: left;
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.services-title h2 {
    color: var(--itcc-yellow, #ffd600);
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.services-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0;
}
.services-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    margin-left: 40%;
    min-width: 320px;
}
/* Vertical line */
.services-list::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-blue, #3949ab) 0%, var(--itcc-yellow, #ffd600) 100%);
    z-index: 0;
    border-radius: 2px;
}
.service-vertical-card {
    display: flex;
    align-items: flex-start;
    background: var(--bg-white, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(45,54,145,0.08);
    padding: 1.5rem 2rem;
    min-height: 110px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(.4,2,.6,1);
}
.service-vertical-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-icon-circle {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    background: var(--accent-blue, #3949ab);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(57,73,171,0.15);
    margin-right: 1.5rem;
    position: relative;
    z-index: 2;
    transform: translateX(-40px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(.4,2,.6,1);
}
.service-vertical-card.visible .service-icon-circle {
    transform: translateX(0);
    opacity: 1;
}
.service-icon-circle i {
    font-size: 2rem;
    color: var(--itcc-yellow, #ffd600);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.service-icon-circle img { display: none; }
.service-info {
    flex: 1;
    padding-top: 0.2rem;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(.4,2,.6,1);
}
.service-vertical-card.visible .service-info {
    opacity: 1;
    transform: translateX(0);
}
.service-info h3 {
    color: var(--primary-blue, #1a237e);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.service-info p {
    color: var(--text-dark, #333);
    font-size: 1rem;
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .services-list {
        margin-left: 0;
        padding-left: 0;
    }
    .services-title {
        text-align: center;
        margin: 0 auto 2rem auto;
    }
    .services-title h2 {
        font-size: 2rem;
    }
    .services-bg, .services-overlay {
        left: 0; right: 0;
    }
}
@media (max-width: 600px) {
    .service-vertical-card {
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 1rem;
        text-align: center;
    }
    .service-icon-circle {
        margin: 0 0 1rem 0;
    }
    .services-list::before {
        left: 50%;
        margin-left: -2px;
    }
}

[dir="rtl"] .services-list {
    margin-right: 40%;
    margin-left: 0;
}
[dir="rtl"] .services-list::before {
    left: auto;
    right: 32px;
}
[dir="rtl"] .service-icon-circle {
    margin-right: 0;
    margin-left: 1.5rem;
}
@media (max-width: 991px) {
    [dir="rtl"] .services-list {
        margin-right: 0;
    }
    [dir="rtl"] .services-list::before {
        right: 50%;
        margin-right: -2px;
        left: auto;
        margin-left: 0;
    }
    [dir="rtl"] .service-icon-circle {
        margin-left: 0;
    }
}

[dir="rtl"] .services-bg {
    transform: scaleX(-1);
}

[dir="rtl"] .services-title {
    text-align: right;
}

/* About Section Vertical Style */
.about-section.about-vertical {
    position: relative;
    background: none;
    padding: 0;
    min-height: 600px;
}
.about-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../images/about-bg.jpg') center center/cover no-repeat;
    z-index: 1;
}
.about-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--primary-blue, #1a237e) 0%, rgba(26,35,126,0.7) 60%, rgba(255,255,255,0.0) 100%);
    z-index: 2;
}
.about-container {
    position: relative;
    z-index: 3;
    padding: 4rem 0 4rem 0;
}
.about-title {
    color: var(--text-light);
    text-align: left;
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.about-title h2 {
    color: var(--itcc-yellow, #ffd600);
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.about-title .about-desc {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0;
}
.about-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    margin-left: 40%;
    min-width: 320px;
}
.about-list::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-blue, #3949ab) 0%, var(--itcc-yellow, #ffd600) 100%);
    z-index: 0;
    border-radius: 2px;
}
.about-vertical-card {
    display: flex;
    align-items: flex-start;
    background: var(--bg-white, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(45,54,145,0.08);
    padding: 1.5rem 2rem;
    min-height: 110px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(.4,2,.6,1);
}
.about-vertical-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.about-icon-circle {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    background: var(--accent-blue, #3949ab);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(57,73,171,0.15);
    margin-right: 1.5rem;
    position: relative;
    z-index: 2;
    transform: translateX(-40px);
    opacity: 0;
    transition: all 0.7s cubic-bezier(.4,2,.6,1);
}
.about-vertical-card.visible .about-icon-circle {
    transform: translateX(0);
    opacity: 1;
}
.about-icon-circle i {
    font-size: 2rem;
    color: var(--itcc-yellow, #ffd600);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.about-info {
    flex: 1;
    padding-top: 0.2rem;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(.4,2,.6,1);
}
.about-vertical-card.visible .about-info {
    opacity: 1;
    transform: translateX(0);
}
.about-info h3 {
    color: var(--primary-blue, #1a237e);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.about-info p {
    color: var(--text-dark, #333);
    font-size: 1rem;
    margin-bottom: 0;
}
[dir="rtl"] .about-list {
    margin-right: 40%;
    margin-left: 0;
}
[dir="rtl"] .about-list::before {
    left: auto;
    right: 32px;
}
[dir="rtl"] .about-icon-circle {
    margin-right: 0;
    margin-left: 1.5rem;
}
[dir="rtl"] .about-title {
    text-align: right;
}
@media (max-width: 991px) {
    .about-list {
        margin-left: 0;
        padding-left: 0;
    }
    .about-title {
        text-align: center;
        margin: 0 auto 2rem auto;
    }
    .about-title h2 {
        font-size: 2rem;
    }
    .about-bg, .about-overlay {
        left: 0; right: 0;
    }
    [dir="rtl"] .about-list {
        margin-right: 0;
    }
    [dir="rtl"] .about-list::before {
        right: 50%;
        margin-right: -2px;
        left: auto;
        margin-left: 0;
    }
    [dir="rtl"] .about-icon-circle {
        margin-left: 0;
    }
}
@media (max-width: 600px) {
    .about-vertical-card {
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 1rem;
        text-align: center;
    }
    .about-icon-circle {
        margin: 0 0 1rem 0;
    }
    .about-list::before {
        left: 50%;
        margin-left: -2px;
    }
}
[dir="rtl"] .about-bg {
    transform: scaleX(-1);
}

/* About Section Horizontal Row Style */
.about-section.about-row {
    position: relative;
    background: none;
    padding: 0;
    min-height: 600px;
}
.about-row-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 3;
}
.about-card {
    background: var(--bg-white, #fff);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(45,54,145,0.08);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    min-width: 220px;
    max-width: 300px;
    width: 100%;
    flex: 0 1 23%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(.4,2,.6,1);
    position: relative;
}
.about-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.about-card-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 2.5rem;
    color: var(--itcc-yellow, #ffd600);
    background: var(--accent-blue, #3949ab);
    box-shadow: 0 2px 12px rgba(57,73,171,0.12);
    transition: background 0.3s, color 0.3s;
}
.about-card-icon-1 { background: var(--itcc-yellow, #ffd600); color: var(--primary-blue, #1a237e); }
.about-card-icon-2 { background: var(--accent-blue, #3949ab); color: var(--itcc-yellow, #ffd600); }
.about-card-icon-3 { background: var(--primary-blue, #1a237e); color: var(--itcc-yellow, #ffd600); }
.about-card-icon-4 { background: var(--itcc-yellow, #ffd600); color: var(--primary-blue, #1a237e); }
.about-card h3 {
    color: var(--primary-blue, #1a237e);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    margin-top: 0;
}
.about-card p {
    color: var(--text-dark, #333);
    font-size: 1rem;
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .about-row-cards {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
    .about-card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        flex: 1 1 100%;
    }
}

/* About Modern Section (like user example) */
.about-section.about-modern {
    background: #fff;
    padding: 0;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}
.about-modern-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem 2rem;
    position: relative;
    z-index: 2;
}
.about-modern-left {
    flex: 1 1 60%;
    max-width: 60%;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.about-modern-title {
    font-size: 3.2rem;
    font-weight: 300;
    color: var(--primary-blue, #1a237e);
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}
.about-modern-desc {
    color: #999;
    font-size: 1.18rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 700px;
}
.about-modern-cards {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.about-modern-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 170px;
    max-width: 220px;
    flex: 1 1 170px;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 8px 32px 0 rgba(26,35,126,0.10), 0 1.5px 6px 0 rgba(255,214,0,0.08);
    border-radius: 22px;
    padding: 2.2rem 1.2rem 1.7rem 1.2rem;
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.25);
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    position: relative;
    z-index: 2;
    will-change: transform, box-shadow, background;
}
.about-modern-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: aboutCardIn 0.7s cubic-bezier(.4,2,.6,1);
}
@keyframes aboutCardIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.about-modern-card:hover, .about-modern-card:focus {
    box-shadow: 0 12px 40px 0 rgba(26,35,126,0.16), 0 2px 12px 0 rgba(255,214,0,0.10);
    background: rgba(255,255,255,0.32);
    transform: translateY(-8px) scale(1.03);
}
.about-modern-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--itcc-yellow, #ffd600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    font-size: 2.5rem;
    color: var(--primary-blue, #1a237e);
    box-shadow: 0 2px 12px rgba(255,214,0,0.10);
    transition: background 0.3s, color 0.3s, transform 0.4s cubic-bezier(.4,2,.6,1);
    will-change: transform;
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
}
.about-modern-card.visible .about-modern-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: aboutIconIn 0.7s cubic-bezier(.4,2,.6,1);
}
@keyframes aboutIconIn {
    0% { opacity: 0; transform: scale(0.7) rotate(-10deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.about-modern-card:hover .about-modern-icon {
    background: var(--primary-blue, #1a237e);
    color: var(--itcc-yellow, #ffd600);
    transform: scale(1.08) rotate(6deg);
}
.about-modern-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue, #1a237e);
    margin-bottom: 0.5rem;
    margin-top: 0.2rem;
    letter-spacing: 0.5px;
}
.about-modern-card-desc {
    color: #222;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}
.about-modern-right {
    flex: 1 1 40%;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    min-width: 320px;
}
.about-modern-image-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-modern-image-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 520px;
    height: 520px;
    object-fit: cover;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(18px) brightness(1.1);
    z-index: 1;
    opacity: 0.7;
}
.about-modern-image {
    position: relative;
    width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 8px 40px rgba(26,35,126,0.10);
}
@media (max-width: 1200px) {
    .about-modern-container {
        flex-direction: column;
        align-items: center;
        padding: 3rem 1rem 1rem 1rem;
    }
    .about-modern-left, .about-modern-right {
        max-width: 100%;
        flex: 1 1 100%;
        padding-right: 0;
    }
    .about-modern-right {
        margin-top: 2.5rem;
        justify-content: center;
    }
    .about-modern-image-wrapper {
        width: 320px;
        height: 320px;
    }
    .about-modern-image-blur {
        width: 400px;
        height: 400px;
    }
    .about-modern-image {
        width: 320px;
        height: 320px;
    }
}
@media (max-width: 800px) {
    .about-modern-cards {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .about-modern-card {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
    .about-modern-image-wrapper {
        width: 220px;
        height: 220px;
    }
    .about-modern-image-blur {
        width: 300px;
        height: 300px;
    }
    .about-modern-image {
        width: 220px;
        height: 220px;
    }
    .about-modern-title {
        font-size: 2.1rem;
    }
}
[dir="rtl"] .about-modern-container {
    flex-direction: row-reverse;
}
[dir="rtl"] .about-modern-left {
    padding-right: 0;
    padding-left: 2rem;
    text-align: right;
}
[dir="rtl"] .about-modern-cards {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
[dir="rtl"] .about-modern-card {
    text-align: right;
    direction: rtl;
}
[dir="rtl"] .about-modern-card-title,
[dir="rtl"] .about-modern-card-desc {
    text-align: right;
    direction: rtl;
}
[dir="rtl"] .about-modern-right {
    justify-content: flex-start;
}

/* Modern Glassy Footer */
.footer-glass {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 40px 0 rgba(26,35,126,0.10);
    border-top: 1.5px solid rgba(45,54,145,0.08);
    color: var(--primary-blue, #1a237e);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.footer-glass::before {
    content: '';
    position: absolute;
    left: -120px;
    top: -120px;
    width: 400px;
    height: 400px;
    background: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M200 0C89.543 0 0 89.543 0 200C0 310.457 89.543 400 200 400C310.457 400 400 310.457 400 200C400 89.543 310.457 0 200 0ZM200 50C283.856 50 350 116.144 350 200C350 283.856 283.856 350 200 350C116.144 350 50 283.856 50 200C50 116.144 116.144 50 200 50Z' fill='url(%23paint0_linear)'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear' x1='0' y1='0' x2='400' y2='400' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%231a237e'/%3E%3Cstop offset='1' stop-color='%23ffd600'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") no-repeat center center;
    opacity: 0.1;
    animation: rotateShape 20s linear infinite;
}

.footer-glass::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M150 0L300 150L150 300L0 150L150 0ZM150 50L250 150L150 250L50 150L150 50Z' fill='url(%23paint0_linear)'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear' x1='0' y1='0' x2='300' y2='300' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffd600'/%3E%3Cstop offset='1' stop-color='%231a237e'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") no-repeat center center;
    opacity: 0.1;
    animation: rotateShape 15s linear infinite reverse;
}

@keyframes rotateShape {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.footer-main-row {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 3rem 0 1.5rem 0;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 340px;
    margin-bottom: 1.5rem;
}

.footer-col:nth-child(2) {
    margin-left: auto;
    padding-left: 10rem;
    margin-right: 2rem;
}

.footer-col h3 {
    color: var(--itcc-yellow, #ffd600);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-contact,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.7rem;
    color: var(--primary-blue, #1a237e);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-contact i {
    color: var(--accent-blue, #3949ab);
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--accent-blue, #3949ab);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-blue), var(--itcc-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--itcc-yellow);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-social {
    display: flex;
    gap: 1.1rem;
    margin-top: 0.5rem;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26, 35, 126, 0.15);
    margin-bottom: 20px;
}

.footer-social a {
    color: var(--accent-blue);
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(45,54,145,0.08);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--itcc-yellow);
    color: var(--accent-blue);
    transform: translateY(-3px) scale(1.08);
}

.footer-bottom {
    background: rgba(255,255,255,0.22);
    border-top: 1px solid rgba(45,54,145,0.07);
    padding: 1.1rem 0 0.7rem 0;
    text-align: center;
    font-size: 1rem;
    color: var(--primary-blue, #1a237e);
    letter-spacing: 0.2px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-heart {
    color: #e53935;
    font-size: 1.1em;
    vertical-align: middle;
    margin: 0 2px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    vertical-align: middle;
}

.footer-logo-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 1px 4px rgba(45,54,145,0.10);
    background: #fff;
    margin-top: -1px;
}

@media (max-width: 900px) {
    .footer-main-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .footer-col {
        max-width: 100%;
    }
}

[dir="rtl"] .footer-main-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-col h3,
[dir="rtl"] .footer-contact li,
[dir="rtl"] .footer-links a,
[dir="rtl"] .footer-bottom {
    text-align: right;
}

[dir="rtl"] .footer-logo-link {
    margin-left: 0;
    margin-right: 4px;
}

.footer-itcc-logo {
    color: #1a237e;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.footer-itcc-logo .footer-itcc-yellow {
    color: #ffb300;
}

/* Footer Logo Section Styles */
.footer-logo-section {
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26, 35, 126, 0.15);
}

.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
    margin: 0 auto;
}

.footer-logo-link:hover {
    opacity: 0.9;
}

.footer-logo-img {
    width: 85px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--primary-blue, #1a237e);
    margin: 0;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.3;
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .footer-logo-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-logo-img {
        width: 70px;
    }

    .footer-tagline {
        white-space: normal;
        font-size: 0.9rem;
        max-width: 240px;
    }
}

/* RTL Support for Footer Logo */
[dir="rtl"] .footer-logo-section {
    text-align: center;
}

[dir="rtl"] .footer-logo-wrapper {
    align-items: center;
}

[dir="rtl"] .footer-tagline {
    text-align: center;
}

.footer-media-gallery {
    margin-top: 10px;
}

.footer-media-gallery h3 {
    margin-bottom: 15px;
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-top: 8px;
    max-width: 100px;
    margin-left: 5.5rem;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    aspect-ratio: 1;
    transition: transform 0.2s ease;
    width: 45px;
    height: 45px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: scale(1.1);
}

/* Services and About Section Links */
.services-title p a,
.about-modern-desc a {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.services-title p a:hover,
.about-modern-desc a:hover {
    color: var(--itcc-yellow);
}

.services-title p a::after,
.about-modern-desc a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-blue), var(--itcc-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.services-title p a:hover::after,
.about-modern-desc a:hover::after {
    transform: scaleX(1);
}

/* RTL Support for Links */
[dir="rtl"] .services-title p a,
[dir="rtl"] .about-modern-desc a {
    margin-left: 0;
    margin-right: 5px;
}

@font-face {
    font-family: 'Playwrite DK Loopet';
    src: url('../fonts/Playwrite_DK_Loopet/PlaywriteDKLoopet-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Ensure Font Awesome icons display correctly */
.fa, .fab, .fas, .far, .fal, .fad {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
}
.fab {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400;
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
    .footer-glass {
        padding: 2rem 0 0 0;
    }

    .footer-main-row {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-col {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 100%;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-col:nth-child(2) {
        margin-left: 0;
        padding-left: 1rem;
        margin-right: 0;
    }

    .footer-logo-section {
        text-align: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-logo-wrapper {
        justify-content: center;
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-logo-img {
        width: 70px;
        margin: 0 auto;
    }

    .footer-tagline {
        text-align: center;
        white-space: normal;
        font-size: 0.9rem;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .footer-contact li {
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-social {
        justify-content: center;
        gap: 1rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .footer-gallery {
        margin: 1rem auto;
        max-width: 200px;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .gallery-item {
        width: 40px;
        height: 40px;
    }

    .footer-bottom {
        padding: 1rem 0;
        margin-top: 1rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
        text-align: center;
    }

    .footer-logo-link {
        margin: 0.3rem 0;
    }

    .footer-logo-icon {
        width: 20px;
        height: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .footer-glass {
        padding: 1.5rem 0 0 0;
    }

    .footer-main-row {
        gap: 1.5rem;
    }

    .footer-col {
        padding: 0 0.5rem;
    }

    .footer-logo-img {
        width: 60px;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .footer-gallery {
        max-width: 180px;
        gap: 6px;
    }

    .gallery-item {
        width: 36px;
        height: 36px;
    }

    .footer-bottom-inner {
        font-size: 0.9rem;
    }
}

/* RTL Support for Footer Mobile */
@media (max-width: 768px) {
    [dir="rtl"] .footer-main-row {
        flex-direction: column;
    }

    [dir="rtl"] .footer-col {
        text-align: center;
    }

    [dir="rtl"] .footer-logo-wrapper {
        flex-direction: column;
    }

    [dir="rtl"] .footer-contact li {
        justify-content: center;
    }

    [dir="rtl"] .footer-links {
        align-items: center;
    }

    [dir="rtl"] .footer-social {
        justify-content: center;
    }

    [dir="rtl"] .footer-gallery {
        margin: 1rem auto;
    }

    [dir="rtl"] .footer-bottom-inner {
        text-align: center;
    }
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: var(--itcc-yellow);
    border-color: var(--itcc-yellow);
    color: var(--primary-blue);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background-color: #ffd700;
    border-color: #ffd700;
    color: var(--primary-blue);
}

/* About ITCC Section */
.about-itcc-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.about-itcc-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--itcc-yellow) 0%, transparent 100%);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(150px, -150px);
}

.about-content {
    padding: 2rem;
}

.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--itcc-yellow);
}

.about-text {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    padding: 1rem;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--itcc-yellow);
    transform: translate(15px, 15px);
    z-index: -1;
}

.about-image img {
    max-width: 100%;
    height: auto;
}
