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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    overflow-x: hidden;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

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

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

nav {
    background: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #15333e;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    animation: slideInLeft 0.8s ease-out;
}

nav .logo img {
    height: 110px;
    width: auto;
    transition: transform 0.3s ease;
}

nav .logo:hover img {
    transform: rotate(5deg) scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    animation: slideInRight 0.8s ease-out;
}

nav li {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

nav li:nth-child(1) {
    animation-delay: 0.1s;
}

nav li:nth-child(2) {
    animation-delay: 0.2s;
}

nav li:nth-child(3) {
    animation-delay: 0.3s;
}

nav li:nth-child(4) {
    animation-delay: 0.4s;
}

nav a {
    color: #15333e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #177076;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #177076;
    transform: translateY(-2px);
}

.hero-banner {
    background: #057886;
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease-out;
    will-change: transform;
    animation: float 6s ease-in-out infinite;

}


.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 3s ease-in-out infinite;
}

.hero-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.hero-banner p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    position: relative;
    z-index: 1;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #177076;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(23, 112, 118, 0.3);
    animation: scaleIn 1s ease-out 0.6s backwards;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: #1a8a91;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(23, 112, 118, 0.5);
}

.section {
    padding: 5rem 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* Scroll Animation Classes - Disabled for stability */
.scroll-animate {
    opacity: 1;
}

.scroll-animate.animate-in {
    opacity: 1;
}

/* Enhanced card transforms */
.value-card,
.sector-card,
.contact-box {
    transition: all 0.4s ease;
}

.section-alt {
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #15333e;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    background: #177076;
    margin: 0 auto;
    animation: scaleIn 0.8s ease-out;
    position: relative;
}

.section-header .underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    background: #1a8a91;
    left: 0;
    animation: expandWidth 2s ease-out infinite;
}

@keyframes expandWidth {

    0%,
    100% {
        width: 0;
    }

    50% {
        width: 100%;
    }
}

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

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4a5568;
    animation: slideInLeft 0.8s ease-out;
}

.about-features {
    display: grid;
    gap: 1.5rem;
    animation: slideInRight 0.8s ease-out;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    transition: transform 0.3s ease;
}

.feature-item:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #177076;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    background: #1a8a91;
    box-shadow: 0 5px 15px rgba(23, 112, 118, 0.4);
}

.feature-content h3 {
    color: #15333e;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-content p {
    color: #6b7280;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(21, 51, 62, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border-top: 5px solid #177076;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.value-card:nth-child(1) {
    animation-delay: 0.2s;
}

.value-card:nth-child(2) {
    animation-delay: 0.4s;
}

.value-card:nth-child(3) {
    animation-delay: 0.6s;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(23, 112, 118, 0.1), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(21, 51, 62, 0.2);
    border-top-color: #1a8a91;
}

.value-card h3 {
    color: #15333e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: #6b7280;
    line-height: 1.7;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3rem;
}

.sector-card {
    background: white;
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.sector-card:nth-child(1) {
    animation-delay: 0.1s;
}

.sector-card:nth-child(2) {
    animation-delay: 0.3s;
}

.sector-card:nth-child(3) {
    animation-delay: 0.5s;
}

.sector-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #15333e;
    transition: height 0.4s ease;
    z-index: 0;
}

.sector-card:hover::after {
    height: 100%;
}

.sector-card:hover {
    color: white;
    z-index: 1;
    box-shadow: 0 15px 50px rgba(21, 51, 62, 0.3);
    transform: translateY(-10px);
}

.sector-number {
    font-size: 3rem;
    color: #177076;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.sector-card:hover .sector-number {
    color: #177076;
    transform: scale(1.2) rotate(5deg);
    animation: float 2s ease-in-out infinite;
}

.sector-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #15333e;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.sector-card:hover h3 {
    color: white;
    transform: translateY(-5px);
}

.sector-card p {
    color: #6b7280;
    line-height: 1.7;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.sector-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section {
    background: linear-gradient(135deg, #15333e 0%, #177076 50%, #15333e 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: float 6s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation: float 8s ease-in-out infinite reverse;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    position: relative;
    z-index: 1;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
}

.contact-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.contact-box:nth-child(1) {
    animation-delay: 0.4s;
}

.contact-box:nth-child(2) {
    animation-delay: 0.6s;
}

.contact-box:nth-child(3) {
    animation-delay: 0.8s;
}

.contact-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-box strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    opacity: 0.9;
}

.contact-box a,
.contact-box {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-box a:hover {
    color: #a8e6cf;
    text-decoration: underline;
}

footer {
    background-color: #15333e;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content p {
    margin-bottom: 1.5rem;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media a:hover {
    background-color: #0066cc;
    transform: scale(1.1);
}

.social-media svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 968px) {

    .about-content,
    .sectors-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .hero-banner {
        min-height: auto;
        padding: 3rem 2rem;
    }

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

    nav ul {
        display: none;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
    fill: white;
}

/* ============================================
   Experts Network Page Styles
   ============================================ */

/* Sun Ray Network Styles */
.sunray-network {
    position: relative;
    width: 700px;
    height: 450px;
    margin: 40px auto 0;
}

.sun-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #177076, #15333e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 0 30px rgba(23, 112, 118, 0.6);
    z-index: 10;
}

.ray-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #177076, transparent);
    transform-origin: left center;
    top: 50%;
    left: 50%;
    z-index: 1;
}

.ray-node {
    position: absolute;
    background: #f8fafc;
    border: 2px solid #177076;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #15333e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    transition: all 0.3s ease;
    z-index: 5;
    min-width: 130px;
    text-align: center;
}

.ray-node:hover {
    transform: scale(1.1);
    background: #177076;
    color: white;
    box-shadow: 0 6px 20px rgba(23, 112, 118, 0.4);
    z-index: 100;
}

.ray-node.has-tooltip {
    cursor: pointer;
}

.ray-node .expert-tooltip {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #15333e;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    white-space: normal;
}

.ray-node .expert-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #15333e transparent transparent transparent;
}

.ray-node.has-tooltip:hover .expert-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 60px;
}

/* Stacked Cards Section */
.cards-instruction {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .sunray-network {
        transform: scale(0.55);
        margin-left: calc(50% - 350px);
        margin-top: -30px;
        margin-bottom: -60px;
    }
}