/* Variables & Reset */
:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --accent-color: #bfa15f;
    /* Gold/Bronze */
    --accent-hover: #d4b675;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-primary-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.text-gradient {
    color: var(--accent-color);
    background: linear-gradient(to right, var(--accent-color), #fcd34d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.logo .highlight {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary-outline) {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

.nav-links a:not(.btn-primary-outline):hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.badge {
    display: inline-block;
    background: rgba(191, 161, 95, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.stats {
    margin-top: 4rem;
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Hero Image & Floating Cards */
.image-wrapper {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.image-wrapper img {
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    background-color: #e2e8f0;
    /* Fallback */
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 40px;
    left: -40px;
    z-index: 2;
}

.card-2 {
    bottom: 40px;
    right: -20px;
    animation-delay: 3s;
}

.floating-card i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    background: var(--bg-light);
    padding: 4rem;
    border-radius: 20px;
    border-left: 5px solid var(--accent-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

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

.skills-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.skills-list i {
    color: var(--accent-color);
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
}

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

.expertise-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(191, 161, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.expertise-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.expertise-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.cta-content .btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.cta-content .btn:hover {
    background: white;
    border-color: white;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.contact-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
}

.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 textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(191, 161, 95, 0.1);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .card-1 {
        left: 0;
    }

    .card-2 {
        right: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        gap: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .hamburger {
        display: block;
        color: var(--primary-color);
    }

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

    .about-content {
        padding: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

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

/* ========================================= */
/*   CORPORATE WEB PORTAL THEME OVERRIDES    */
/* ========================================= */

:root {
    --portal-bg: #f4f7f6;
    --portal-border: #e2e8f0;
    --navy-dark: #0f172a;
    --navy-light: #1e293b;
    --gold: #bfa15f;
}

/* Updated Navbar for Portal Look */
.navbar {
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.logo i {
    color: var(--gold);
    margin-right: 5px;
}

.nav-links a.btn-primary-outline {
    background: var(--navy-dark);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-links a.btn-primary-outline:hover {
    background: var(--gold);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

/* Corporate Hero Section */
.hero {
    background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
    position: relative;
    padding-bottom: 6rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #059669;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid #d1fae5;
}

.stats-grid {
    display: flex;
    gap: 0;
    margin-top: 3rem;
    background: white;
    padding: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--portal-border);
    justify-content: center;
}

.stat-card {
    text-align: center;
    padding: 0 2.5rem;
    border-right: 1px solid var(--portal-border);
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    color: var(--navy-dark);
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Portal Image Frame */
.portal-frame {
    position: relative;
    padding: 12px;
    background: white;
    border: 1px solid var(--portal-border);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    max-width: 400px;
    margin: 0 auto;
}

.portal-frame img {
    display: block;
    width: 100%;
}

.expert-tag {
    position: absolute;
    bottom: 25px;
    right: -25px;
    background: var(--navy-dark);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 4px solid var(--gold);
}

.expert-tag i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* Service Portal Cards */
.portal-section {
    padding: 100px 0;
    background: var(--portal-bg);
    border-top: 1px solid var(--portal-border);
    border-bottom: 1px solid var(--portal-border);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--portal-border);
    border-top: 4px solid var(--gold);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--navy-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 2rem;
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 0.9rem;
    gap: 5px;
    transition: gap 0.2s;
}

.service-link:hover {
    gap: 10px;
    color: var(--gold);
}

/* Resources Section */
.resources-section {
    padding: 100px 0;
    background: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.resource-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--portal-border);
    border-radius: 6px;
    gap: 1.2rem;
    transition: all 0.2s ease;
    background: #fdfdfd;
}

.resource-item:hover {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.resource-item i.fa-file-pdf,
.resource-item i.fa-file-alt {
    font-size: 2.2rem;
    color: var(--navy-light);
}

.resource-item i.fa-calculator {
    font-size: 2.2rem;
    color: var(--gold);
}

.resource-info {
    flex: 1;
}

.resource-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--navy-dark);
}

.resource-info p {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--portal-border);
    background: white;
    color: var(--navy-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-icon:hover {
    background: var(--navy-dark);
    color: white;
    border-color: var(--navy-dark);
}

/* Corporate Footer */
.portal-footer {
    background: var(--navy-dark);
    color: white;
    padding: 5rem 0 0 0;
    border-top: 4px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-col p i {
    color: var(--gold);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive Corrections */
@media (max-width: 992px) {
    .stats-grid {
        flex-direction: column;
        gap: 0;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--portal-border);
        padding: 1.5rem;
    }

    .stat-card:last-child {
        border-bottom: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .expert-tag {
        bottom: -20px;
        right: 0;
        left: 0;
        justify-content: center;
    }
}