 /* Existing Variables */
:root {
    --primary: #ff6600;
    --secondary: #1a1a1a;
    --dark: #000000;
    --light: #f8f9fa;
}

/* Base Styles */
html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Navigation Styles */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-expand-lg .navbar-toggler {
    display: block;
}

.navbar-expand-lg .navbar-collapse {
    display: none;
}

.navbar-expand-lg .navbar-collapse.show {
    display: block;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 102, 0, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
    border-radius: 20px;
}

.nav-link.active {
    color: white !important;
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    border-radius: 30px 0;
}

.nav-link.active::after {
    width: 0; /* Remove underline for active state */
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

/* Hamburger Icon */
.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 10px;
}

.hamburger-icon span:nth-child(3) {
    top: 20px;
}

/* Hamburger Animation */
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .navbar-collapse.show {
        display: block !important;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 0.8rem 1.5rem !important;
        margin: 0.2rem 0;
    }

    .nav-link:hover {
        transform: translateX(10px);
        background: rgba(255, 102, 0, 0.1);
    }

    .nav-link.active {
        background: var(--primary);
        transform: none;
    }

    /* Mobile Menu Animation */
    .navbar-collapse {
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Links */
.nav-link {
    color: white !important;
    font-weight: 500;
    font-weight: bold;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 102, 0, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: white !important;
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.nav-link.active::after {
    width: 0;
}

/* Hero Slider Styles */
.hero-slider {
    height: 90vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-slide {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-bottom: 100px;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
    padding: 0 1rem;
    transform: translateY(-50px);
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .hero-slider {
        margin-top: 0;
        height: 80vh; /* Reduced from 100vh to remove extra space */
    }

    .hero-slide {
        padding-bottom: 0;
        height: 100%;
    }

    .slide-content {
        text-align: center;
        padding: 0 1rem;
        margin-top: 80px;
    }

    .slide-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 1rem !important;
        line-height: 1.4;
    }

    .slide-content br {
        display: none;
    }
}

@media (max-width: 325px) {
    .hero-slider {
        height: 75vh; /* Further reduced for very small screens */
    }

    .slide-content {
        margin-top: 70px;
    }

    .slide-content h1 {
        font-size: 1.8rem !important;
    }

    .slide-content p {
        font-size: 0.95rem !important;
    }
}

/* Swiper Pagination Styles */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: orangered;
    transform: scale(1.2);
}

/* Section Styles */
section {
    padding: 3rem 0;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.container.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
}

/* About Hero Section */
.about-hero {
    position: relative;
    background: url('images/tech6.jpg') center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 76px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.about-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 576px) {
    .about-hero {
        height: 250px;
        margin-top: 62px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 325px) {
    .about-hero {
        height: 200px;
        margin-top: 60px;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-hero p {
        font-size: 0.9rem;
    }
}

/* Team Section */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-social a {
    color: var(--secondary);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--primary);
}

/* Values Section */
.values {
    background-color: var(--light);
}

/* Service Section Styles */
.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #ff7043);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -35px auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(255,87,34,0.3);
}

.service-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Button Styles */
.premium-button {
    background: linear-gradient(135deg, var(--primary), #ff7043);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255,87,34,0.2);
    text-decoration: none;
    display: inline-block;
}

.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,87,34,0.3);
    color: white;
    text-decoration: none;
}

/* Stats Section Styles */
.stats-section {
    background-color: #1a1a1a;
    padding: 40px 0;
    color: white;
}

.stats-section-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: orangered;
    margin: 0 auto;
    border-radius: 2px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 0.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 69, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: orangered;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #a0a0a0;
    margin: 0;
    font-weight: 400;
}

/* Media Queries */
@media (max-width: 1200px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .stats-section-title {
        font-size: 1.8rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .icon-wrapper i {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 2rem 0;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .stat-label {
        font-size: 1rem;
        line-height: 1.3;
    }
}

/* Footer Styles */
.footer {
    background: var(--dark);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-heading {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* About Page Specific Styles */
.navbar-expand-lg .navbar-toggler {
    display: block;
}

.navbar-expand-lg .navbar-collapse {
    display: none;
}

.navbar-expand-lg .navbar-collapse.show {
    display: block;
}

/* About Story Section */
.about-story {
    padding: 2rem 0;
    background: var(--light);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 102, 0, 0.2), rgba(255, 87, 34, 0.2));
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-content p {
    color: var(--secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Vision Mission Section */
.vision-mission {
    padding: 1rem 0;
    background: white;
}

.vm-card {
    padding: 3rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 102, 0, 0.1);
}

.vm-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.vm-card h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.vm-card p {
    color: var(--secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Values Section */
.values {
    padding: 1rem 0;
    background: var(--light);
}

.value-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 102, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--primary), #ff7043);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), #ff7043);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.2);
}

.value-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Section Title Enhancements */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), #ff7043);
}

.section-title h2 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .vm-card, .value-card {
        margin-bottom: 2rem;
    }
    
    .about-image {
        margin-bottom: 3rem;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .stats-card {
        margin-bottom: 1.5rem;
    }
    
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 0.5rem;
    }
    
    .navbar-toggler {
        padding: 0.6rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .vm-card h3, .about-content h2 {
        font-size: 1.8rem;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .premium-button {
        padding: 10px 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin: -30px auto 15px;
    }
    
    .about-hero {
        padding-top: 70px;
        min-height: 40vh;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-toggler {
        padding: 0.5rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .vm-card, .value-card {
        padding: 2rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .about-hero h1 {
        font-size: calc(1.8rem + 1vw);
    }
    
    .about-hero p {
        font-size: calc(0.9rem + 0.3vw);
        padding: 0 1rem;
    }
    
    .navbar-toggler {
        padding: 0.4rem;
    }
}

@media (max-width: 320px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        padding: 0.3rem;
        margin-left: 0.5rem;
    }
    
    .about-hero h1 {
        font-size: calc(1.5rem + 1vw);
    }
    
    .about-hero p {
        font-size: calc(0.85rem + 0.2vw);
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .vm-card h3, .value-card h3 {
        font-size: 1.3rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* New Team Section Styles */
.our-team {
    padding: 1rem 0;
    background: var(--light);
}

.our-team h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.our-team h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), #ff7043);
}

.index-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.index-team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.index-team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.team-member-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.index-team-member:hover .team-member-image {
    transform: scale(1.05);
}

.index-member-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
    position: relative;
}

.index-member-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), #ff7043);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.index-team-member:hover .index-member-info::before {
    transform: scaleX(1);
}

.index-member-name {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.index-member-role {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.index-member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.index-member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.index-member-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive Adjustments for Team Section */
@media (max-width: 992px) {
    .index-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .our-team h2 {
        font-size: 2rem;
    }
    
    .team-member-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .index-team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .our-team h2 {
        font-size: 1.8rem;
    }
    
    .index-member-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 320px) {
    .our-team h2 {
        font-size: 1.5rem;
    }
    
    .team-member-image {
        height: 200px;
    }
    
    .index-member-info {
        padding: 1rem;
    }
    
    .index-member-social a {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Animation Classes */
.animate-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-title.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.animate-text.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-button {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.6s;
}

.animate-button.active {
    opacity: 1;
    transform: translateY(0);
}

/* Bootstrap Animation Enhancements */
.fade {
    transition: opacity .15s linear;
}

.collapse {
    transition: height .35s ease;
}

.collapsing {
    transition: height .35s ease;
}

/* Swiper Animation Fixes */
.swiper-slide-active .animate-title,
.swiper-slide-active .animate-text,
.swiper-slide-active .animate-button {
    opacity: 1;
    transform: translateY(0);
}

/* AOS Animation Fixes */
[data-aos] {
    transition-duration: 0.8s;
    transition-timing-function: ease;
}

[data-aos][data-aos][data-aos-duration="1000"] {
    transition-duration: 1s;
}

[data-aos][data-aos][data-aos-delay="300"] {
    transition-delay: 0.3s;
}

/* Common hover transition */
.card, .social-links a, .btn, .nav-link {
    transition: all 0.3s ease;
}

/* Card Hover Effects */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Social Media Icons Hover */
.social-links a {
    color: var(--primary);
    margin: 0 10px;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

/* Team Member Social Icons */
.team-member .social-links a {
    color: var(--primary);
    margin: 0 8px;
    opacity: 0.8;
}

.team-member .social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Footer Social Icons */
.footer .social-links a {
    color: white;
    margin: 0 10px;
    opacity: 0.8;
}

.footer .social-links a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-3px);
}

/* Button Hover Effects */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

/* Quick Links Hover */
.quick-links a {
    transition: all 0.3s ease;
    color: white;
    opacity: 0.8;
}

.quick-links a:hover {
    color: var(--primary);
    opacity: 1;
    padding-left: 10px;
}

/* Newsletter Button */
.newsletter-btn:hover {
    background: white !important;
    color: var(--primary) !important;
}

/* Services Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/tech6.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 76px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header h1 span {
    color: var(--primary);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .page-header {
        height: 250px;
        margin-top: 62px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .page-header {
        height: 200px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

.service-details {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-details .cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: orangered;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid orangered;
}

.service-details .cta-btn:hover {
    background: transparent;
    color: orangered;
}

.service-detail {
    margin-bottom: 100px;
    transition: all 0.3s ease;
}

.service-detail:last-child {
    margin-bottom: 0;
}

.service-detail-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-detail-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail-content {
    padding: 30px;
}

.service-detail-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.service-detail-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.service-detail-content ul li:before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}

.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 2.5rem;
}

.cta-section p {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    background: orangered;
    color: white;
    border: 2px solid orangered;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.2);
    border-radius: 20px;
}

.cta-button:hover {
    background: transparent;
    color: orangered;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.2);
}

/* Media Queries */
@media (max-width: 991.98px) {
    .page-header {
        height: 30vh;
        margin-top: 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .service-detail {
        margin-bottom: 60px;
    }

    .service-detail-image img {
        height: 300px;
    }

    .service-detail-content {
        padding: 20px 0;
    }

    .service-detail-content h3 {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        height: 25vh;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .service-detail-image img {
        height: 250px;
    }

    .service-detail-content h3 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/tech5.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 76px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.contact-hero h1 span {
    color: var(--primary);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-info-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ff4d4d, #ff6b6b);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-card:hover .icon-wrapper {
    background: rgba(255, 77, 77, 0.2);
}

.contact-card i {
    font-size: 1.5rem;
    color: #ff4d4d;
    transition: all 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.1);
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #2d3436;
    font-weight: 600;
    font-size: 1.25rem;
    position: relative;
    padding-bottom: 12px;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #ff4d4d;
}

.contact-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 6px;
}

.contact-form-section {
    padding: 80px 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 30px;
    color: var(--dark);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #6c757d;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group input:focus ~ label,
.form-group select:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group select:valid ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #0056b3;
}

.map-container {
    height: 100%;
    min-height: 450px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Media Queries for Contact Page */
@media (max-width: 991px) {
    .contact-hero {
        height: 250px;
        margin-top: 62px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-form {
        margin-bottom: 30px;
    }

    .map-container {
        min-height: 350px;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        height: 200px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 50px 0;
    }

    .contact-card {
        margin-bottom: 20px;
    }

    .map-container {
        min-height: 300px;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: orangered;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #ff6347;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top i {
    font-size: 1.2rem;
    line-height: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
    padding: 5rem 0;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 102, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.quote-icon {
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.author-info h5 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .testimonials {
        padding: 3rem 0;
    }

    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .testimonial-content p {
        font-size: 0.95rem;
    }

    .author-image {
        width: 50px;
        height: 50px;
    }

    .author-info h5 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 2rem 0;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }
}

/* Blog Card Expansion Styles */
.blog-card {
    position: relative;
    z-index: 1;
}

.blog-card.blog-card-expanding {
    z-index: 1000;
}

.blog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 999;
    transition: background 0.3s ease;
    pointer-events: none;
}

.blog-overlay.active {
    background: rgba(0, 0, 0, 0.8);
    pointer-events: auto;
}

.blog-expanded-container {
    position: absolute;
    left: 50%;
    width: 95%;
    max-width: 1200px;
    background: white;
    transform: translateX(-50%) scale(0.9);
    opacity: 0;
    z-index: 1000;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
}

.blog-expanded-container.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.blog-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.blog-close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.blog-full-content {
    position: relative;
}

.blog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.blog-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-quote {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light);
    border-left: 5px solid var(--primary);
    font-style: italic;
}

.blog-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--secondary);
}

.blog-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.blog-image-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.author-bio {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light);
    border-radius: 10px;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

.comment-author {
    font-weight: bold;
    color: var(--secondary);
}

.comment-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.comment-form {
    margin-top: 2rem;
}

.related-posts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.related-post {
    text-align: center;
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.related-post h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-post p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Loading State */
.card-body.loading {
    position: relative;
}

.card-body.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .blog-expanded-container {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 1rem;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .blog-image-gallery {
        grid-template-columns: 1fr;
    }
}

/* Services Section Styles */
#services {
    padding: 1rem 0;
    background-color: var(--light);
}

#services .container {
    padding: 0.5rem 0;
}

@media (max-width: 576px) {
    #services {
        padding: 0.5rem 0 !important;
    }

    #services .container {
        padding: 0.25rem 0 !important;
    }

    #services .text-center {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 325px) {
    #services {
        padding: 0.25rem 0 !important;
    }

    #services .container {
        padding: 0.1rem 0 !important;
    }

    #services .text-center {
        margin-bottom: 0.5rem !important;
    }
}