:root {
    --primary-color: #0A1E42;
    --secondary-color: #00B4D8;
    --accent-color: #D5DFF1;
    --white: #ffffff;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --secondary-light: #BCF4FF;
}

@font-face {
    font-family: 'Good Timing';
    src: url('../../font/good-timing-bd.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Force Font Awesome icons to use correct font */
.fa {
    font-family: "FontAwesome" !important;
}

/* Apply Raleway to everything except icons */
body,
p,
span,
a,
button,
div:not(.fa),
li {
    font-family: "Raleway", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Good Timing', sans-serif !important;
    font-weight: normal;
    line-height: 1.2;
}

h1 {
    line-height: 1.1;
}

h2 {
    line-height: 1.25;
}

/* Color utility classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

/* Standard Button Styling */
.btn-standard {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 25px;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    padding: 10px 23px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 180, 216, 0.9);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card-title {
    font-family: 'Good Timing', sans-serif !important;
}

.service-card-subtitle {
    font-family: 'Raleway', sans-serif;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.15);
}

.skill-bar {
    height: 8px;
    background: var(--gray-200);
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--secondary-color);
    width: 0;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 600px;
}

.submenu-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu-dropdown.active {
    max-height: 800px;
}

/* Marquee Animation */
.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.marquee-content:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee-content {
        animation-duration: 20s;
    }

    .inline-flex {
        margin-left: 1.5rem !important;
        margin-right: 1.5rem !important;
    }
}

/* Dynamic Text Animation */
.dynamic-text {
    display: inline-block;
    text-align: left;
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Swiper Custom Styles */
.swiper-button-next {
    color: var(--secondary-color);
    background: var(--secondary-light);
    width: 45px;
    height: 45px;
}

.swiper-button-next:after {
    font-size: 20px;
}

.swiper-button-prev {
    display: none;
}

/* Project Card Hover Effects */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card .arrow-icon {
    transition: all 0.3s ease;
}

.project-card:hover .arrow-icon {
    transform: translate(5px, -5px);
}

/* Consultation Link Styling */
.consultation-link {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: underline;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.consultation-link:hover {
    color: var(--secondary-color);
}

/* Diagonal Arrow Rotation */
.diagonal-arrow {
    transform: rotate(-45deg);
    display: inline-block;
}

.hero-section,
.projects-showcase-section,
.articles-section {
    background: var(--accent-color) !important;
}

.good-timing {
    font-family: 'Good Timing', sans-serif !important;
}

.development-services-section-card {
    background: var(--secondary-light) !important;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Pricing Toggle */
.pricing-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.pricing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    transition: .4s;
    border-radius: 30px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider-toggle {
    background-color: var(--secondary-color);
}

input:checked+.slider-toggle:before {
    transform: translateX(30px);
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* Technology logos */
.tech-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.tech-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}