:root {
    --primary-color:  #51BFCC; /* Logo Blue */
    --secondary-color: #0a4263; /* Deep Blue */
    --accent-color: #3E92CC; /* Lighter Accent Blue */
    --light-color: #ffffff; /* Clean white background */
    --dark-color: #1E1B18; /* Dark gray for text */
    --nav-bg-color: #ffffff; /* Menu background */
    --nav-text-color: #0a4263; /* Menu text */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.error-message {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.btn:hover {
    background-color: #51BFCC;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 82, 223, 0.3);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header */
.header {
    background-color: var(--light-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 35px;
}

.nav-menu a {
    color: var(--nav-text-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}

.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active::after {
    width: 100%;
}        

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--nav-bg-color);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
    }

    .hamburger {
        display: block;
    }
}

/* Projects Section */
.projects {
    padding: 4rem 1rem;
    background: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    font-size: 3rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.project-category {
    color: #0e76a8;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-client, .project-tech {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.project-links {
    margin-top: 1rem;
}
/* Hero Section - Fixed Height Approach */
.hero {
    min-height: 100vh;
    height: auto; /* Allow for content expansion */
    padding: 120px 0 60px; /* Top padding to clear header, bottom for spacing */
    background: linear-gradient(rgba(10, 37, 99, 0.8), rgba(10, 37, 99, 0.7)), url('img/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--light-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px; /* Spacing between elements */
}

.hero-title {
    margin-bottom: 0; /* Remove margin to use flex gap instead */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInDown 1s ease;
}

.hero p.tagline {
    font-size: 1.5rem;
    margin-bottom: 0;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

/* Carousel Styling with Fixed Height */
.carousel-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    height: 180px; /* Fixed height for the carousel */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 400%; /* 100% for each slide */
    height: 150px; /* Fixed height for slides */
}

.carousel-slide {
    width: 25%; /* Each slide takes 1/4 of the total width */
    padding: 0 10px;
    box-sizing: border-box;
}

.pillar-content {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pillar-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #51BFCC;
}

.pillar-content p {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #51BFCC;
    transform: scale(1.2);
}

.hero .btn-container {
    margin-top: 10px;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
    background-color: #51BFCC;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(81, 191, 204, 0.4);
}

.hero .btn:hover {
    background-color: transparent;
    border-color: #51BFCC;
    transform: translateY(-3px);
}

/* Tech Patterns */
.tech-pattern {
    position: absolute;
    opacity: 0.15;
    z-index: 1;
}

.tech-pattern-1 {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(81, 191, 204, 0.8) 0.5%, transparent 6%),
        radial-gradient(circle at 75% 44%, rgba(81, 191, 204, 0.8) 0.5%, transparent 8%),
        radial-gradient(circle at 46% 90%, rgba(81, 191, 204, 0.8) 0.5%, transparent 5%),
        radial-gradient(circle at 90% 80%, rgba(81, 191, 204, 0.8) 0.5%, transparent 7%);
}

.tech-pattern-2 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, transparent 94%, rgba(81, 191, 204, 0.8) 96%, transparent 96%),
                    linear-gradient(0deg, transparent 94%, rgba(81, 191, 204, 0.8) 96%, transparent 96%);
    background-size: 50px 50px;
}

.tech-pattern-3 {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(81, 191, 204, 0.4) 50%, transparent 52%) 0 0 / 60px 60px,
        linear-gradient(-45deg, transparent 48%, rgba(81, 191, 204, 0.4) 50%, transparent 52%) 0 0 / 60px 60px;
    animation: gradientMove 30s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 60px 0, 60px 0;
    }
}

/* Custom animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive adjustments */
@media (max-height: 700px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p.tagline {
        font-size: 1.3rem;
    }
    
    .carousel-container {
        height: 160px;
    }
    
    .carousel-track, .pillar-content {
        height: 130px;
    }
    
    .pillar-content h3 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .pillar-content p {
        font-size: 1rem;
    }
}

/* About Section with Cards */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

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

.about-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0e76a8;
}

.about-card p, .about-card li {
    font-size: 1rem;
    line-height: 1.6;
}

.icon {
    color: #0e76a8;
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

/* Services Navigation */
.services-nav {
    margin: 30px 0;
}

.services-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.services-nav li {
    padding: 10px 20px;
    background-color: #ffffff;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.services-nav li:hover {
    background-color: #f0f0f0;
}

.services-nav li.active {
    background-color: var(--primary-color);
    color: white;
}

/* Service Category */
.service-category {
    display: none;
}

.service-category.active {
    display: block;
}

/* Category Intro */
.category-intro {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-image {
    width: 40%;
    height: 300px;
    object-fit: cover;
}

.category-content {
    padding: 30px;
    width: 60%;
}

.category-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.category-content p a {
    color: #0e76a8; /* Distinct color for hyperlinks in category descriptions */
    text-decoration: underline;
}

.category-content p a:hover {
    color: #0b5c85; /* Darker shade on hover */
}

/* Sub Services Grid */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.sub-service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.icon-container {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    width: 100px;
    height: 100px;
}

.sub-service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sub-service-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.sub-service-content p a {
    color: #0e76a8; /* Distinct color for hyperlinks in sub-service descriptions */
    text-decoration: underline;
}

.sub-service-content p a:hover {
    color: #0b5c85; /* Darker shade on hover */
}

.btn-sm {
    font-size: 0.8rem;
    padding: 6px 16px;
    align-self: flex-start;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .category-intro {
        flex-direction: column;
    }
    
    .category-image {
        width: 100%;
        height: 200px;
    }
    
    .category-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .services-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .services-nav li {
        width: 80%;
        text-align: center;
    }
    
    .sub-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
}

/* Service Modal Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.service-modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: background-color 0.2s;
}

.close-modal:hover {
    background-color: #e0e0e0;
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-right: 30px;
}

.modal-details {
    margin: 20px 0;
}

.modal-details h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-details ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-details li {
    margin-bottom: 8px;
}

.modal-content .btn {
    display: inline-block;
    margin-top: 10px;
}

/* Animation Styles */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add delay for staggered animation */
.sub-service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.sub-service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.sub-service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.sub-service-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.expertise .section-title {
    color: var(--light-color);
}

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

.expertise-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.expertise-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.expertise-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}


/* Partnerships Section */
.partnerships {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.partner-logo {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.partner-logo img {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
}

.partner-initials {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.partner-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.partner-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.partner-info p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.partner-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.partner-link:hover {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .partnerships-grid {
        grid-template-columns: 1fr;
    }
}
/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-card p {
    margin-bottom: 10px;
}

.contact-card .icon {
    margin-right: 10px;
    color: var(--accent-color);
}

.contact-card a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--accent-color);
}

.contact-form-container {
    grid-column: 2;
}

.contact-form-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

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

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

/* Success Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup.show {
    display: flex;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.popup-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.popup-content p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.popup-content .btn-primary {
    display: inline-block;
    min-width: 120px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        grid-column: 1;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h2 {
    font-size: 1.5rem;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links li:hover {
    padding-left: 5px;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #354bb7;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 50px;
    }
    
    .expertise-item {
        padding: 20px 15px;
    }
    
    .expertise-icon {
        font-size: 2.5rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top;
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.member-info .position {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.team-member .bio a {
    color: #0e76a8; /* Distinct color for hyperlinks in team bios */
    text-decoration: underline;
}

.team-member .bio a:hover {
    color: #0b5c85; /* Darker shade on hover */
}

/* Clients Section */
.clients {
    padding: 100px 0;
    background-color: var(--light-color);
}

.client-slider {
    position: relative;
    margin: 50px auto;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.client-slider .client-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Updated for 5�3 grid layout with fixed dimensions */
.client-grid-page {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.client-slide {
    width: 100%;
    height: 100%;
    padding: 15px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.client-slide img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-slide:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.client-slide p a {
    font-weight: 500;
    color: #0e76a8; /* Distinct color for hyperlinks in client names */
    text-decoration: underline;
}

.client-slide p a:hover {
    color: #0b5c85; /* Darker shade on hover */
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Vacancies Section - Optimized Grid Layout */
.vacancies {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaff 100%);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vacancies .section-title {
    margin-bottom: 40px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.2rem;
}

.vacancies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.vacancy-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vacancy-card h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Limit description to 2 lines with fade effect */
.vacancy-card .description {
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    max-height: 3em; /* 2 lines */
}

.vacancy-card .description::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5em;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.8) 80%, 
        white 100%);
}

/* Hide requirements and responsibilities on index page */
.vacancy-details {
    display: none !important;
}

.vacancy-deadline {
    font-size: 0.85rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-weight: 500;
}

.vacancy-deadline i {
    margin-right: 8px;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.apply-section {
    margin-top: 20px;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.read-more-vacancy {
    padding: 8px 16px;
    background: var(--accent-color);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-vacancy:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.share-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    color: var(--dark-color);
    border: 1px solid #ddd;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-btn:hover {
    background: #e9ecef;
}

.share-section {
    position: relative;
}

.share-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 10;
    margin-bottom: 10px;
}

.share-dropdown.active {
    display: block;
}

.share-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.85rem;
    gap: 8px;
    transition: background 0.2s;
}

.share-option:hover {
    background: #f5f7fa;
}

.no-vacancies {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    max-width: 600px;
    grid-column: 1 / -1;
}

.no-vacancies p {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.btn-container {
    margin-top: 40px;
    grid-column: 1 / -1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .vacancies-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .vacancies {
        padding: 60px 0;
    }
    
    .vacancies .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .vacancies-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .apply-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .read-more-vacancy, .share-btn {
        width: 100%;
        text-align: center;
    }
    
    .share-dropdown {
        left: 0;
        right: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .vacancy-card {
        padding: 20px;
    }
    
    .vacancy-card h2 {
        font-size: 1.3rem;
    }
}

/* VACANCIES MODAL STYLES - FIXED */
#vacancyModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

#vacancyModal.show {
    display: flex;
}

#vacancyModal .modal-content {
    background-color: var(--light-color);
    margin: 20px;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#vacancyModal .modal-header {
    padding: 0 0 20px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 25px;
}

#vacancyModal .modal-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

#vacancyModal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10001;
}

#vacancyModal .close-modal:hover {
    background-color: #f5f7fa;
    color: #333;
}

#vacancyModal .modal-body {
    padding: 0;
}

#vacancyModal .modal-description.full-width {
    width: 100%;
}

#vacancyModal .section-divider {
    border: none;
    height: 1px;
    background: #eee;
    margin: 25px 0;
}

#vacancyModal h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

#vacancyModal p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

#vacancyModal ul {
    margin: 15px 0;
    padding-left: 25px;
}

#vacancyModal li {
    margin-bottom: 10px;
    color: #333;
    line-height: 1.5;
    position: relative;
}

#vacancyModal li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

#vacancyModal .modal-footer {
    padding: 25px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 2px solid #f0f0f0;
    margin-top: 25px;
}

#vacancyModal .modal-footer p {
    color: #666;
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

#vacancyModal .modal-footer .btn {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#vacancyModal .modal-footer .btn:hover {
    background-color: rgb(1, 116, 139);
    transform: translateY(-2px);
}

/* Responsive design for modal */
@media (max-width: 768px) {
    #vacancyModal .modal-content {
        margin: 10px;
        padding: 20px;
        width: 95%;
    }
    
    #vacancyModal .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 40px;
    }
    
    #vacancyModal .modal-footer {
        flex-direction: column;
        text-align: center;
    }
    
    #vacancyModal .close-modal {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* Service Modal Styles */
#serviceModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

#serviceModal.show {
    display: flex;
}

#serviceModal .modal-content {
    background-color: var(--light-color);
    margin: 20px;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

#serviceModal .modal-header h2 {
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-size: 2rem;
    font-weight: 700;
}

#serviceModal .modal-body {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

#serviceModal .icon-container {
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
}

#serviceModal .modal-description {
    flex: 1;
}

#serviceModal .modal-description p {
    margin-bottom: 15px;
    line-height: 1.6;
}

#serviceModal .modal-footer {
    text-align: right;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

#serviceModal #contactBtn {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

#serviceModal #contactBtn:hover {
    background-color: rgb(1, 116, 139);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #serviceModal .modal-body {
        flex-direction: column;
        text-align: center;
    }
    
    #serviceModal .icon-container {
        margin-bottom: 20px;
    }
}