@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --color-primary-bg: #061021;
    /* Deep Navy Blue */
    --color-secondary-bg: #091a36;
    /* Slightly lighter navy */
    --color-cta-orange: #FF5A00;
    /* Vibrant Orange */
    --color-cta-orange-hover: #E04D00;
    --color-growth-green: #00DF81;
    /* Growth Green */
    --color-text-main: #FFFFFF;
    --color-text-muted: #A0B2D4;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-blur: blur(16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-primary-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    border-radius: 12px;
}

/* Container */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Header */
header.navbar {
    padding: 20px 0;
    background: rgba(6, 16, 33, 0.8);
    backdrop-filter: var(--glass-blur);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--color-cta-orange);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text-main);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text-main);
}

.mobile-only {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #FF7B00, var(--color-cta-orange));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 90, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 0, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(255, 90, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 223, 129, 0.05) 0%, transparent 40%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #FFFFFF, #B9C6DC);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    box-shadow: var(--glass-shadow);
    border: var(--glass-border);
    position: relative;
    z-index: 2;
}

.hero-image-backdrop {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-cta-orange), var(--color-growth-green));
    border-radius: 12px;
    opacity: 0.15;
    filter: blur(40px);
    z-index: 1;
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--color-cta-orange);
}

.section-header.left-align {
    text-align: left;
    margin-inline: 0;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Trust Bar */
.trust-bar {
    background: var(--color-secondary-bg);
    padding: 60px 0;
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* ========== PHASE 2 ADDITIONS ========== */

/* Product Cards */
.products-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.product-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-bottom: 2px solid var(--color-cta-orange);
}

.product-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.product-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.product-content li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-content li i {
    color: var(--color-growth-green);
}

/* Rank Table */
.rank-table-wrapper {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    overflow-x: auto;
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.rank-table th {
    padding: 18px 20px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    background: rgba(255, 90, 0, 0.1);
    color: var(--color-cta-orange);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.rank-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
    font-size: 1.05rem;
}

.rank-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
}

.rank-table tr.kohinoor {
    background: linear-gradient(90deg, rgba(255, 90, 0, 0.2), rgba(0, 223, 129, 0.1));
    font-weight: bold;
}

.rank-table tr.kohinoor td {
    color: #fff;
    border-bottom: none;
}

.rank-icon {
    color: var(--color-cta-orange);
    margin-right: 12px;
    width: 24px;
    text-align: center;
    display: inline-block;
}

.kohinoor .rank-icon {
    color: var(--color-growth-green);
}

/* Shobha Foundation Specific */
.shobha-header {
    background: linear-gradient(rgba(6, 16, 33, 0.8), rgba(6, 16, 33, 0.9)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') center/cover;
}

.cause-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.cause-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cause-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .products-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .products-wrapper,
    .cause-grid {
        grid-template-columns: 1fr;
    }

    .rank-table-wrapper {
        padding: 20px;
    }

    .rank-table th,
    .rank-table td {
        padding: 12px 10px;
        font-size: 0.95rem;
    }
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 223, 129, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-growth-green);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.trust-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Welcome Section */
.welcome-section {
    position: relative;
}

/* Core Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.glass-card .icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 90, 0, 0.1);
    color: var(--color-cta-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.glass-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* SP Group Verticals */
.verticals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vertical-card {
    text-align: center;
    padding: 30px 20px;
}

.vertical-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--color-secondary-bg);
    border: var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-text-main);
    transition: all 0.3s ease;
}

.vertical-card:hover .icon {
    background: var(--color-cta-orange);
    color: #fff;
    transform: scale(1.1);
}

.vertical-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.vertical-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Footer */
footer {
    background: #040A15;
    padding: 80px 0 40px;
    border-top: var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-about p {
    color: var(--color-text-muted);
    margin-top: 20px;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-cta-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* About Page Specific */
.page-header {
    padding: 160px 0 80px;
    background: var(--color-secondary-bg);
    text-align: center;
    border-bottom: var(--glass-border);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-orange {
    color: var(--color-cta-orange);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper .glass-card {
    margin-bottom: 40px;
    padding: 50px;
}

.content-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.content-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.content-wrapper ul {
    list-style: none;
    margin-bottom: 24px;
}

.content-wrapper li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.content-wrapper li i {
    color: var(--color-growth-green);
    margin-top: 6px;
}

.content-wrapper li strong {
    color: var(--color-text-main);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .services-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .verticals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .services-grid,
    .trust-grid,
    .verticals-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #040A15; /* Solid dark background */
        border-bottom: 2px solid var(--color-cta-orange);
        padding: 15px 0 25px 0;
        gap: 5px;
        text-align: center;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
    }

    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        font-size: 1.15rem;
        transition: all 0.2s ease;
    }

    .nav-links a:hover, 
    .nav-links a.active {
        background: rgba(255, 90, 0, 0.1);
        color: var(--color-cta-orange);
    }

    .mobile-only a.btn {
        width: 80%;
        margin: 10px auto 0;
        display: inline-block;
    }
    
    .mobile-only a.btn:hover {
        background: linear-gradient(135deg, #FF7B00, var(--color-cta-orange));
        color: white;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper .glass-card {
        padding: 30px;
    }
}