/* Shakti Cloud Inspired Redesign - Clean Professional Theme */

/* Color Palette Update */
:root {
    /* Primary Colors - coRAN Teal */
    --primary-blue: #1aa4be;
    --primary-blue-light: #2bc4de;
    --primary-blue-dark: #158499;
    --accent-cyan: #1aa4be;

    /* Backgrounds - Light & Clean */
    --bg-white: #FFFFFF;
    --bg-gray-50: #F9FAFB;
    --bg-gray-100: #F3F4F6;
    --bg-gray-200: #E5E7EB;

    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;

    /* Borders */
    --border-light: #E5E7EB;
    --border-gray: #D1D5DB;

    /* Shadows */
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Hero Section - Minimalist Clean Design */
#billboard {
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 700px;
}

.banner-content h1,
.banner-content .h2 {
    color: var(--text-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.banner-content p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Solution Cards - Modern Card Design */
#portfolio {
    background: var(--bg-gray-50) !important;
    padding: 100px 0;
}

#portfolio .section-title-modern {
    color: var(--text-primary) !important;
}

#portfolio .section-subtitle {
    color: var(--text-secondary) !important;
}

.solution-card-modern {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    min-height: 320px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1aa4be 0%, #2bc4de 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.solution-card-modern:hover::before {
    transform: scaleX(1);
}

.solution-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 32px rgba(26, 164, 190, 0.15);
    border-color: #1aa4be;
}

.solution-icon-modern {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: #1aa4be;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.solution-icon-modern::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(135deg, #1aa4be, #2bc4de);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.solution-card-modern:hover .solution-icon-modern {
    background: #1aa4be;
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.solution-card-modern:hover .solution-icon-modern::after {
    opacity: 0.2;
}

.solution-card-modern h3 {
    color: #111827;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.solution-card-modern p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* Section Headers - Clean Typography */
.section-title-modern {
    color: var(--text-primary);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Buttons - Modern Rounded Style */
.btn-primary-modern {
    background: var(--primary-blue);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 164, 190, 0.25);
}

.btn-primary-modern:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 164, 190, 0.35);
}

.btn-outline-modern {
    background: transparent;
    color: var(--primary-blue);
    padding: 0.875rem 2rem;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: var(--primary-blue);
    color: white;
}

/* Services Section - Card Layout */
#services {
    background: var(--bg-white) !important;
    padding: 100px 0;
}

#services .section-title-modern {
    color: var(--text-primary) !important;
}

#services .section-subtitle {
    color: var(--text-secondary) !important;
}

.services {
    background: transparent;
    border: 1px solid rgba(26, 164, 190, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
}

.services:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(26, 164, 190, 0.2);
    border-color: #1aa4be;
}

.services-content {
    background: transparent;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.services-content h2 {
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.services-content p {
    color: #ffffff !important;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Resources Section */
#resources {
    background: var(--bg-gray-50) !important;
    padding: 100px 0;
}

#resources .section-title-modern {
    color: var(--text-primary) !important;
}

#resources .section-subtitle {
    color: var(--text-secondary) !important;
}

/* Resource Filter Buttons */
.filter-btn {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(26, 164, 190, 0.25);
}

/* Resource Cards */
.resource-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
    padding: 0;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-blue);
}

.resource-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.resource-img {
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray-100);
    border-bottom: 1px solid var(--border-light);
}

.resource-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-img img {
    transform: scale(1.05);
}

.resource-body {
    padding: 1.5rem;
}

.resource-body h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.resource-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.resource-link {
    text-decoration: none;
    display: block;
}

/* Contact Section */
#contact {
    background: var(--bg-white) !important;
    padding: 100px 0;
}

#contact .section-title-modern {
    color: var(--text-primary) !important;
    margin-top: 0 !important;
}

#contact p {
    color: var(--text-secondary) !important;
    font-size: 1.1rem;
    line-height: 1.7;
}

#contact .bi {
    color: var(--primary-blue) !important;
    opacity: 0.15 !important;
}

/* Footer */
#footer {
    background: var(--text-primary);
    color: var(--bg-gray-100);
    padding: 60px 0 30px;
}

#footer h5 {
    color: var(--bg-white);
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

#footer .menu-list {
    list-style: none;
    padding: 0;
}

#footer .menu-item a {
    color: var(--bg-gray-200);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

#footer .menu-item a:hover {
    color: var(--primary-blue-light);
}

/* Navigation - Clean Modern */
.navbar-modern {
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar-modern .coran_logo {
    /* Apply coRAN teal color (#1aa4be) to logo */
    filter: brightness(0) saturate(100%) invert(53%) sepia(72%) saturate(539%) hue-rotate(140deg) brightness(92%) contrast(87%);
}

.nav-link-modern {
    color: #1F2937 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
}

.nav-link-modern:hover {
    color: var(--primary-blue) !important;
}

.nav-link-modern.active {
    color: var(--primary-blue) !important;
    font-weight: 700;
}

.nav-link-modern.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* Spacing Updates - Generous Whitespace */
.padding-large {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-modern {
    margin-bottom: 0;
}

/* About Section - Clean Professional */
#about {
    background: var(--bg-white);
    padding: 100px 0;
}

#about .section-title-modern {
    color: var(--text-primary);
}

#about .section-subtitle {
    color: var(--text-secondary);
}

#about .description {
    margin-top: 2rem;
}

#about .description p {
    color: var(--text-secondary);
    font-size: 1.05rem !important;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

#about .description p span {
    color: var(--primary-blue) !important;
    font-weight: 600;
}

/* Stats Section */
.stat-item {
    padding: 1.5rem 0.5rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* About Image */
#about .single-image {
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    transition: transform 0.3s ease;
}

#about .hover-lift:hover .single-image {
    transform: translateY(-8px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content h1,
    .banner-content .h2 {
        font-size: 2.5rem;
    }

    .section-title-modern {
        font-size: 2rem;
    }

    .solution-card-modern {
        padding: 2rem;
        min-height: 260px;
    }

    .padding-large {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    #about {
        padding: 60px 0;
    }

    #about .description p {
        font-size: 1rem !important;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}
