/* Color Variables */
:root {
    /* Primary Colors */
    --primary-color: #4F46E5;      /* Indigo */
    --primary-dark: #3730A3;       /* Darker Indigo */
    --primary-light: #818CF8;      /* Light Indigo */
    
    /* Secondary Colors */
    --secondary-color: #10B981;    /* Emerald */
    --secondary-dark: #059669;     /* Darker Emerald */
    --secondary-light: #34D399;    /* Light Emerald */
    
    /* Neutral Colors */
    --dark-color: #1F2937;         /* Dark Gray */
    --gray-800: #1F2937;           /* Dark Gray */
    --gray-700: #374151;           /* Medium Gray */
    --gray-600: #4B5563;           /* Gray */
    --gray-400: #9CA3AF;           /* Light Gray */
    --gray-200: #E5E7EB;           /* Lighter Gray */
    --gray-100: #F3F4F6;           /* Lightest Gray */
    
    /* Background Colors */
    --bg-light: #F9FAFB;           /* Light Background */
    --bg-white: #FFFFFF;           /* White */
    
    /* Accent Colors */
    --accent-blue: #3B82F6;        /* Blue */
    --accent-purple: #8B5CF6;      /* Purple */
    --accent-pink: #EC4899;        /* Pink */
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-800);
    background-color: var(--bg-light);
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    background: var(--bg-white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Common styles for all nav links */
.navbar .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Underline animation for all nav links */
.navbar .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.navbar .nav-link:hover::before {
    width: 100%;
}

/* Dropdown arrow styles */
.navbar .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.25rem;
    vertical-align: middle;
    content: "▾";
    border: none;
    font-size: 0.8em;
    transition: transform 0.3s ease;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Rotate arrow on hover for desktop */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Rotate arrow when dropdown is shown */
.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Active state styles */
.navbar .nav-link.active {
    color: var(--primary-color);
}

.navbar .nav-link.active::before {
    width: 100%;
}

/* Dropdown toggle specific styles */
.navbar .dropdown-toggle {
    color: var(--gray-700);
}

.navbar .dropdown-toggle:hover {
    color: var(--primary-color);
}

.navbar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
}

.navbar .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 280px;
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .show-on-hover {
        display: block;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Show dropdown on click for all devices */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: rgba(79, 70, 229, 0.05);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Featured dropdown item */
.dropdown-item.featured {
    color: var(--primary-color);
    font-weight: 500;
    background-color: rgba(79, 70, 229, 0.05);
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 0.5rem;
}

.dropdown-item.featured:hover {
    background-color: rgba(79, 70, 229, 0.1);
}

/* Dropdown divider */
.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--gray-200);
}

/* Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: transparent;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        color: var(--gray-700);
        border-radius: 8px;
        margin: 0.25rem 0;
    }

    .dropdown-item:hover {
        background-color: rgba(79, 70, 229, 0.05);
        transform: translateX(5px);
    }

    .dropdown-item.featured {
        background-color: rgba(79, 70, 229, 0.05);
        border-bottom: 2px solid var(--primary-color);
    }

    .dropdown-divider {
        display: none;
    }
}

/* Mobile Navbar Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 5rem 2rem 2rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    /* Add delay for each nav item */
    .navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.5s; }

    .nav-link {
        color: var(--gray-700) !important;
        font-size: 1.1rem;
        font-weight: 500;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-link:hover {
        color: var(--primary-color) !important;
        background: rgba(79, 70, 229, 0.05);
        transform: translateX(5px);
    }

    .nav-link.active {
        color: var(--primary-color) !important;
        background: rgba(79, 70, 229, 0.1);
    }

    .navbar-toggler {
        z-index: 1001;
        border: none;
        padding: 0.5rem;
        background: transparent;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .navbar-toggler:hover {
        background: rgba(79, 70, 229, 0.05);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        transition: transform 0.3s ease;
        width: 24px;
        height: 24px;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        transform: rotate(90deg);
    }

    /* Close button for mobile menu */
    .navbar-collapse::before {
        content: '×';
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
        color: var(--gray-700);
        cursor: pointer;
        z-index: 1001;
        opacity: 0.7;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .navbar-collapse::before:hover {
        opacity: 1;
        background: rgba(79, 70, 229, 0.05);
    }

    /* Overlay when menu is open */
    .navbar-collapse::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .navbar-collapse.show::after {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile navbar button styles */
    .navbar .btn-primary {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .navbar .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
    }

    /* Scrollbar styling */
    .navbar-collapse::-webkit-scrollbar {
        width: 5px;
    }

    .navbar-collapse::-webkit-scrollbar-track {
        background: transparent;
    }

    .navbar-collapse::-webkit-scrollbar-thumb {
        background: rgba(79, 70, 229, 0.2);
        border-radius: 10px;
    }

    .navbar-collapse::-webkit-scrollbar-thumb:hover {
        background: rgba(79, 70, 229, 0.3);
    }
}

/* Hero Section */
.hero-section {
    padding: 1rem 0 5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--gray-200) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-slider {
    position: relative;
    height: 300px;
}

.hero-text-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-text-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image-container {
    position: relative;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.outer-circle {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    /* animation: rotateCircle 20s linear infinite; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-circle {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: var(--bg-white);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-image-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    padding: 1rem;
}

@keyframes rotateCircle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Why Choose Us Section */
.why-choose-section {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.why-choose-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.why-choose-section .section-title h2 {
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.why-choose-section .section-title p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.why-choose-section .feature-box {
    padding: 2rem;
    border-radius: 1rem;
    background: var(--bg-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-choose-section .feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.why-choose-section .feature-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--bg-white);
    border-radius: 0.8rem;
    z-index: 1;
}

.why-choose-section .feature-box.animate {
    transform: translateY(0);
    opacity: 1;
}

.why-choose-section .feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.why-choose-section .feature-box:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.why-choose-section .feature-box:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

.why-choose-section .feature-box h5 {
    position: relative;
    z-index: 2;
    color: var(--gray-800);
    margin: 1rem 0;
    transition: color 0.3s ease;
    font-size: 1.25rem;
    font-weight: 600;
}

.why-choose-section .feature-box p {
    position: relative;
    z-index: 2;
    color: var(--gray-600);
    transition: color 0.3s ease;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.why-choose-section .feature-box:hover h5,
.why-choose-section .feature-box:hover p {
    color: var(--primary-color);
}

/* Responsive Styles for Why Choose Us Section */
@media (max-width: 991.98px) {
    .why-choose-section {
        padding: 4rem 0;
    }

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

    .why-choose-section .section-title p {
        font-size: 1rem;
    }

    .why-choose-section .feature-box {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .why-choose-section .feature-box h5 {
        font-size: 1.1rem;
        margin: 0.75rem 0;
    }

    .why-choose-section .feature-box p {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .why-choose-section {
        padding: 3rem 0;
    }

    .why-choose-section .section-title {
        margin-bottom: 2rem;
    }

    .why-choose-section .section-title h2 {
        font-size: 1.75rem;
    }

    .why-choose-section .section-title p {
        font-size: 0.95rem;
    }

    .why-choose-section .feature-box {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }

    .why-choose-section .feature-box h5 {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .why-choose-section .feature-box p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .why-choose-section {
        padding: 2.5rem 0;
    }

    .why-choose-section .section-title h2 {
        font-size: 1.5rem;
    }

    .why-choose-section .section-title p {
        font-size: 0.9rem;
    }

    .why-choose-section .feature-box {
        padding: 1rem;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .feature-icon i {
        font-size: 3rem;
    }

    .why-choose-section .feature-box h5 {
        font-size: 0.95rem;
    }

    .why-choose-section .feature-box p {
        font-size: 0.85rem;
    }
}

/* Services Section */
.services-section {
    padding: 2rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.service-card {
    padding: 2rem;
    border-radius: 1rem;
    background: var(--bg-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.service-card h4 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-card ul li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

/* Services Carousel */
#servicesCarousel {
    padding: 1rem 0;
}

#servicesCarousel .carousel-inner {
    padding: 1rem 0;
}

#servicesCarousel .carousel-item {
    padding: 0.5rem;
}

/* Carousel Controls */
.carousel-controls {
    text-align: center;
    margin-top: 2rem;
}

.carousel-controls .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    margin: 0 0.5rem;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transition: all 0.3s ease;
}

.carousel-controls .btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.carousel-controls .btn i {
    font-size: 0.875rem;
    margin: 0 0.25rem;
}

/* Responsive Styles for Services */
@media (max-width: 767.98px) {
    .services-section {
        padding: 3rem 0;
    }

    .service-card {
        margin: 0.5rem 1rem;
    }

    #servicesCarousel .carousel-item {
        padding: 0.5rem 1rem;
    }

    .carousel-controls .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .service-card {
        margin: 0.5rem;
    }

    #servicesCarousel .carousel-item {
        padding: 0.5rem;
    }
}

@media (min-width: 992px) {
    .service-card {
        margin: 0.5rem;
    }

    #servicesCarousel .carousel-item {
        padding: 0.5rem;
    }
}

/* Hide default carousel controls */
#servicesCarousel .carousel-control-prev,
#servicesCarousel .carousel-control-next {
    display: none;
}

/* Technology Stack Section */
.tech-stack-section {
    background-color: var(--bg-white);
}

.tech-item {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.tech-item img {
    height: 60px;
    object-fit: contain;
}

/* Development Process Section */
.process-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.process-card {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-card.animate {
    transform: translateY(0);
    opacity: 1;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(79, 70, 229, 0.1);
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.process-card:hover .process-number {
    transform: scale(1.1);
    color: rgba(79, 70, 229, 0.2);
}

.process-card h5 {
    color: var(--gray-800);
    margin: 1rem 0;
    transition: color 0.3s ease;
}

.process-card p {
    color: var(--gray-600);
    transition: color 0.3s ease;
}

.process-card:hover h5 {
    color: var(--primary-color);
}

/* Add animation delay for each card */
.process-card:nth-child(1) { transition-delay: 0.1s; }
.process-card:nth-child(2) { transition-delay: 0.2s; }
.process-card:nth-child(3) { transition-delay: 0.3s; }
.process-card:nth-child(4) { transition-delay: 0.4s; }

/* Portfolio Section */
.portfolio-section {
    padding: 2rem 0;
    background-color: var(--bg-white);
}

.portfolio-filter {
    margin-bottom: 2rem;
}

.portfolio-filter button {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
}

.portfolio-filter button.active,
.portfolio-filter button:hover {
    color: var(--primary-color);
}

.portfolio-item {
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.portfolio-item img {
    transition: transform 0.3s ease;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(31, 41, 55, 0.9), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Testimonial Section Styles */
.testimonials-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover::before {
    opacity: 0.05;
}

.testimonial-header {
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    padding: 2px;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1);
    border-color: var(--primary-dark);
}

.testimonial-rating {
    color: #FFD700;
    position: relative;
    z-index: 1;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-size: 3rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-quote {
    opacity: 0.2;
    transform: scale(1.1);
}

/* Responsive Styles for Testimonials */
@media (max-width: 991.98px) {
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 767.98px) {
    .testimonials-section {
        padding: 3rem 0;
    }

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

/* Form Styles */
.testimonial-section .form-control {
    border: 1px solid var(--gray-200);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.testimonial-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.1);
}

.testimonial-section .form-label {
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.testimonial-section .btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.testimonial-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .testimonial-carousel .carousel-control-prev {
        left: 0;
    }
    
    .testimonial-carousel .carousel-control-next {
        right: 0;
    }
}

/* Testimonial Rating */
.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    margin: 0 2px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.cta-section .btn-light {
    background-color: var(--bg-white);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

/* Footer Styles */
footer {
    background-color: var(--gray-800);
}

footer h5 {
    color: var(--bg-white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer .social-links a {
    color: var(--gray-400);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: var(--primary-light);
}

footer .text-muted {
    color: var(--gray-400) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Carousel Controls */
.carousel-controls .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.carousel-controls .btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
        display: flex;
        align-items: center;
        padding: 0 0 3rem;
        background: linear-gradient(135deg, var(--bg-light) 0%, var(--gray-200) 100%);
    }

    .hero-content {
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        color: var(--gray-600);
    }

    .hero-text-slider {
        height: auto;
        min-height: 180px;
        margin-bottom: 2rem;
    }

    .hero-text-item {
        padding: 0 1rem;
    }

    .hero-text-item .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem !important;
    }

    .hero-text-item .btn {
        width: 100%;
        max-width: 200px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero-image-container {
        padding: 1rem;
        margin-top: -5rem;
    }

    .outer-circle {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .inner-circle {
        width: 85%;
        height: 85%;
    }

    .hero-image-item img {
        padding: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 0 0 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-text-slider {
        min-height: 160px;
    }

    .outer-circle {
        width: 240px;
        height: 240px;
    }

    .hero-text-item .btn {
        max-width: 180px;
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .hero-text-slider {
        min-height: 140px;
    }

    .outer-circle {
        width: 200px;
        height: 200px;
    }

    .hero-text-item .btn {
        max-width: 160px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-image-container {
        padding: 1rem;
        margin-top: -5rem;
    }
}

/* Hero Section Animation Improvements */
.hero-text-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-text-item.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-image-item {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-item.active {
    opacity: 1;
    transform: scale(1);
}

/* Hero Section Button Styles */
.hero-text-item .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-text-item .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.hero-text-item .btn:hover::before {
    transform: translateX(0);
}

.hero-text-item .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
}

.hero-text-item .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.hero-text-item .btn-outline-primary {
    border-width: 2px;
}

.hero-text-item .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.15);
}

/* General Responsive Fixes */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent content flash on mobile */
@media (max-width: 991.98px) {
    .container {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }

    /* Fix hero section on mobile */
    .hero-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 6rem 0 3rem;
    }

    .hero-content {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    .hero-text-slider {
        height: auto;
        min-height: 200px;
    }

    /* Fix services section on mobile */
    .services-section {
        padding: 3rem 0;
    }

    .service-card {
        margin: 0.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }

    /* Fix portfolio section on mobile */
    .portfolio-item {
        margin-bottom: 1rem;
    }

    .portfolio-item img {
        height: 200px;
    }

    /* Fix testimonials on mobile */
    .testimonial-card {
        padding: 2rem 1rem;
    }

    /* Fix process section on mobile */
    .process-card {
        margin-bottom: 1rem;
    }
}

/* Animation for content fade in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }
}

/* Fix for Android Chrome 100vh issue */
@media screen and (max-width: 991.98px) {
    .hero-section {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
    }
}

/* Add this to your JavaScript */
/*
window.addEventListener('resize', () => {
    let vh = window.innerHeight * 0.01;
    document.documentElement.style.setProperty('--vh', `${vh}`);
});
*/

/* Fix for content jumping on mobile */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for text overflow */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix for button text overflow */
.btn {
    white-space: normal;
    word-wrap: break-word;
}

/* Fix for flex items on mobile */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

.col, [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

/* Fix for carousel on mobile */
.carousel {
    touch-action: pan-y pinch-zoom;
}

/* Fix for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Fix for tap highlight color on mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Rotate arrow on hover for desktop */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Rotate arrow when dropdown is shown */
.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Career Page Styles */
.career-hero {
    padding: 5rem 0 5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.career-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%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");
    opacity: 0.1;
}

.career-hero h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.career-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.career-hero .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.career-hero .btn-primary:hover {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

.career-hero .btn-outline-primary {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.career-hero .btn-outline-primary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Why Work With Us Section */
.benefit-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.benefit-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.benefit-card p {
    color: var(--gray-600);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.benefit-card:hover h3,
.benefit-card:hover p {
    color: var(--bg-white);
}

/* Open Positions Section */
.job-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--gray-600);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-meta i {
    color: var(--primary-color);
}

.job-card .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Filters */
.filters .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
    background-color: var(--bg-white);
    color: var(--gray-700);
    transition: all 0.3s ease;
}

.filters .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

/* Life at Company Section */
.life-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.life-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.life-features i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.life-gallery img {
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Submit Resume Section */
.resume-form-wrapper {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.resume-form label {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.resume-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.resume-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

.resume-form .btn {
    padding: 0.75rem 2.5rem;
    font-weight: 500;
}

/* Responsive Styles for Career Page */
@media (max-width: 991.98px) {
    .career-hero {
        padding: 6rem 0 4rem;
    }

    .career-hero h1 {
        font-size: 2.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }

    .job-card {
        padding: 1.5rem;
    }

    .job-meta {
        gap: 1rem;
    }

    .resume-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .career-hero {
        padding: 5rem 0 3rem;
    }

    .career-hero h1 {
        font-size: 2rem;
    }

    .career-hero .lead {
        font-size: 1.1rem;
    }

    .career-hero .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .job-card .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .life-gallery {
        margin-top: 2rem;
    }
} 