:root {
    /* Colors */
    --primary-navy: #1C3764;
    --primary-teal: #1D8181;
    --dark-bg: #0F172A;
    --darker-bg: #020617;
    --accent-teal: #14B8A6;
    --slate-text: #64748B;
    --light-slate: #94A3B8;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--white);
    transition: var(--transition);
}

header.scrolled .logo {
    color: var(--primary-navy);
}

.logo-orb {
    color: var(--accent-teal);
}

.sub-logo {
    font-weight: 300;
    font-size: 0.8rem;
    display: block;
    margin-top: -5px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

header.scrolled .sub-logo {
    color: var(--slate-text);
}

/* Base Nav Styles */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

header.scrolled .nav-links a {
    color: var(--primary-navy);
}

.nav-links a:not(.dropdown-menu a):hover {
    color: var(--primary-teal);
}

.nav-links a:not(.dropdown-menu a):not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Styling */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-toggle i {
    width: 14px;
    height: 14px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: 12px;
    padding: 1rem 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    display: none;
    /* Hidden by default */
    list-style: none;
    z-index: 1000;
    margin-top: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

header:not(.scrolled) .dropdown-menu {
    background: var(--dark-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

/* Show on Hover - Desktop only */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem !important;
    color: var(--primary-navy) !important;
    font-size: 0.85rem !important;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

header:not(.scrolled) .dropdown-menu li a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.dropdown-menu li a:hover {
    background: var(--primary-teal) !important;
    color: var(--white) !important;
    padding-left: 1.8rem !important;
}

.dropdown-menu li a::after {
    display: none !important;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 1100;
}

header.scrolled .mobile-menu-btn {
    color: var(--primary-navy);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: var(--white);
    box-shadow: 0 10px 25px rgba(29, 129, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(29, 129, 129, 0.3);
}

.btn-primary-small {
    padding: 0.6rem 1.5rem;
    background: var(--primary-navy);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}

.btn-secondary:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--dark-bg);
    color: var(--white);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/hero_background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

/* Add a fallback background if image not found */
.hero:not([style*="background-image"]) {
    background: radial-gradient(circle at top right, #1e293b, #020617);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.text-gradient {
    background: linear-gradient(135deg, #2dd4bf, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--accent-teal);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--light-slate);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
}

.hero-scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

/* Base Section Styles */
.section {
    padding: 8rem 0;
}

.section-header.centered {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.section-title.white {
    color: var(--white);
}

.subtitle {
    color: var(--slate-text);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-image .image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    background: var(--primary-navy);
    background-image: url('../assets/about_image.png');
    background-size: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.experience-tag {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-tag .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    line-height: 1;
}

.experience-tag .text {
    font-size: 0.8rem;
    color: var(--slate-text);
    font-weight: 500;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item i {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.stat-item h4 {
    margin-bottom: 0.5rem;
}

/* Mission & Vision */
.dark-section {
    background-color: var(--darker-bg);
    color: var(--white);
}

.card {
    padding: 3rem;
    border-radius: 24px;
    transition: var(--transition);
}

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.mission-card,
.vision-card {
    height: 100%;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.icon-box i {
    color: var(--accent-teal);
}

.check-list {
    margin-top: 2rem;
    list-style: none;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    color: var(--accent-teal);
    font-weight: 700;
}

.vision-quote {
    margin-top: 2rem;
    font-style: italic;
    color: var(--light-slate);
    border-left: 3px solid var(--accent-teal);
    padding-left: 1.5rem;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    padding: 3rem;
    border-radius: 20px;
    background: #f8fafc;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(29, 129, 129, 0.05);
    position: absolute;
    top: -1rem;
    right: 1rem;
}

.pillar-card.active {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pillar-card.active .pillar-number {
    color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card.active {
        transform: none;
    }
}

/* Services */
.gray-bg {
    background-color: #f1f5f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-bottom-color: var(--primary-teal);
}

.service-card i {
    display: block;
    margin-bottom: 2rem;
    color: var(--primary-teal);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--slate-text);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-navy), #0a192f);
    color: var(--white);
}

.white-text {
    color: var(--light-slate);
    margin-bottom: 3rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--accent-teal);
}

.info-item h4 {
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--light-slate);
}

.info-item p a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: var(--transition);
}

.info-item p a:hover {
    color: var(--white);
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    background: rgba(255, 255, 255, 0.08);
}

#contactForm select option {
    background: var(--dark-bg);
}

/* Footer */
.footer {
    background: #020617;
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--light-slate);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer h4 {
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--light-slate);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-teal);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    color: var(--white);
    opacity: 0.6;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-teal);
    opacity: 1;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--slate-text);
    font-size: 0.8rem;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

[data-reveal="fade-up"] {
    transform: translateY(50px);
}

.revealed {
    opacity: 1;
    transform: translate(0) !important;
}

/* Expertise Section */
.expertise-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exp-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.exp-icon-small {
    width: 48px;
    height: 48px;
    background: rgba(29, 129, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-teal);
    transition: var(--transition);
}

.exp-item:hover .exp-icon-small {
    background: var(--primary-teal);
    color: var(--white);
    transform: scale(1.1);
}

.org-visual-container {
    position: relative;
    padding: 1rem !important;
    overflow: hidden;
    height: 450px;
}

.org-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    opacity: 0.8;
}

.location-pulse {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-teal);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7);
    animation: pulse 2s infinite;
}

.location-pulse span {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-navy);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
}

.usa {
    top: 35%;
    left: 20%;
}

.india {
    top: 45%;
    left: 70%;
}

.uae {
    top: 40%;
    left: 60%;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(20, 184, 166, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
    }
}

.expertise-card {
    background: linear-gradient(135deg, var(--primary-navy), #1e293b);
    padding: 3rem;
}

.expertise-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid var(--accent-teal);
    color: var(--accent-teal);
    border-radius: 50px;
    font-size: 0.85rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    font-weight: 600;
}

.project-pill.outline {
    background: transparent;
    border-style: dashed;
    opacity: 0.7;
}

.mt-8 {
    margin-top: 8rem;
}

/* Projects Section Styles */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.project-card-full {
    flex: 0 1 calc(50% - 1rem);
    min-width: 280px;
    background: #FFF9F2;
    padding: 3rem;
    border-radius: 4px;
    text-align: center;
    border: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.project-card-full:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(29, 129, 129, 0.1);
}

.project-card-full:hover .project-icon-large {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-teal);
    color: var(--white);
}

.project-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(29, 129, 129, 0.05);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-teal);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card-full h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.project-card-full p {
    color: var(--slate-text);
    font-size: 0.95rem;
}

.future-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.f-project-card {
    background: #FFF9F2;
    color: var(--primary-navy);
    padding: 2.5rem;
    border-radius: 4px;
    transition: var(--transition);
    text-align: center;
}

.f-project-card:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.f-project-card i {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    display: block;
    transition: var(--transition);
}

.f-project-card:hover i {
    color: var(--accent-teal);
    transform: translateX(5px);
}

.f-project-card h4 {
    margin-bottom: 1rem;
}

.f-project-card p {
    font-size: 0.85rem;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .future-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-card-full {
        flex: 1 1 100%;
    }

    .future-projects-grid {
        grid-template-columns: 1fr;
    }
}

.future-projects {
    margin-top: 3rem;
}

/* Floating animation for icons */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.project-icon-large i {
    animation: float 4s ease-in-out infinite;
}

.f-project-card:hover i {
    animation: none;
    /* Stop floating on hover so we can do the slide effect */
}

/* Why Us Section */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-item {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

@media (max-width: 992px) {
    .grid-3-col {
        grid-template-columns: 1fr;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
        padding: 5rem 2rem;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1050;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        padding: 1rem 0;
        width: 100%;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        font-size: 1.1rem !important;
        color: var(--light-slate) !important;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}