:root {
    --primary: #0f172a;
    --secondary: #0ea5e9;
    --accent: #10b981;
    --light: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
    background-color: #ffffff;
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff !important;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}

.btn-custom {
    background: var(--secondary);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
    color: #fff;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 650px;
}

.hero-stats {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    color: #fff;
}

.stat-box h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.stat-box span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* About */
.about-box {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    margin-top: 1.5rem;
}

.about-box h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Services */
.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Icon (Top Center) */
.service-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 30px;
    color: #fff;
}

/* Title */
.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

/* List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-list li {
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

/* Check Icon */
.service-list li i {
    color: #00c853;
    font-size: 14px;
    margin-top: 3px;
}

/* Optional: subtle border line */
.service-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

#gallery {
    position: relative;
    overflow: hidden;
}

.sector-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.sector-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sector-card:hover img {
    transform: scale(1.12);
}

.sector-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    transition: all 0.4s ease;
}

.sector-card:hover .sector-overlay {
    padding-bottom: 35px;
}

.sector-card i {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 15px;
    display: block;
    transition: all 0.4s ease;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.sector-card:hover i {
    transform: scale(1.15) rotate(8deg);
    color: #ffd700;
}

.sector-card h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

/* Premium hover glow effect */
.sector-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.sector-card:hover::before {
    opacity: 1;
    top: -30%;
    left: -30%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sector-card {
        height: 260px;
    }
}

/* Clients & Affiliations */
.client-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.client-badge {
    background: var(--light);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-gray);
    border: 1px solid #cbd5e1;
    transition: 0.3s;
}

.client-badge:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Clients Testimonial */
#testimonials {
    background: linear-gradient(135deg, #f8f9fa, #eef2f7);
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: 0.3s;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateX(-3px);
}

.avatar {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px;
    position: relative;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

/* Gradient Ring Effect */
.avatar::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #0d6efd, #0dcaf0, #6f42c1);
    z-index: -1;
}

/* Hover Effect */
.testimonial-card:hover .avatar img {
    transform: scale(1.08);
}


.testimonial-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(13, 110, 253, 0.05);
    border-radius: 50%;
    top: -30px;
    right: -30px;
}

.testimonial-card h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-card span {
    font-size: 14px;
    color: #6c757d;
}

.testimonial-card p {
    font-style: italic;
    margin-top: 15px;
    color: #555;
}

/* Custom Circle Buttons */
.custom-btn {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.custom-btn i {
    color: #0d6efd;
    font-size: 18px;
}

.custom-btn:hover {
    background: #0d6efd;
}

.custom-btn:hover i {
    color: #fff;
}

/* Mobile Fix */
@media (max-width: 767px) {

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* Contact */
.contact-info-box {
    background: var(--primary);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
}

.contact-info-box i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-right: 1rem;
}

.contact-info-box a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.contact-info-box a:hover {
    color: var(--secondary);
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary);
}

/* Footer */
footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: var(--secondary);
}

.footer-logo {
    font-weight: 800;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--secondary);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 3.5rem 0;
    }
}