/********** Template CSS **********/
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Orbitron:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Poiret+One&family=Roboto+Slab:wght@100..900&display=swap');


:root {
    --primary: #060877;
    --secondary: #095c25;
    --light: #ffffff;
    --dark: #091E3E;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}

/* Set all headings to Orbitron */
h1,
h2 {
    font-family: 'Orbitron', sans-serif;
}

/* Set body text to Poppins */
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

body,
p {
    font-family: 'Poppins', sans-serif;

}

/* Ensure hero section uses Orbitron */
.hero-section h1 {
    font-family: 'Orbitron', serif;
}

/* Optional TOuch */
body {
    overflow-x: hidden;
}

@media (max-width: 480px) {

    .about-para,
    .about-points li,
    .animated-heading .word {
        animation: none !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Default styles remain same */
.navbar {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0 30px;
    color: rgb(0, 34, 66);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    top: 0;
}

.navbar a,
.navbar button {
    background: none;
    border: none;
    color: rgb(15, 10, 66);
    font-size: 19px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    min-height: 44px;
    line-height: 44px;
    padding: 10px 15px;
}

.navbar a:hover,
.navbar button:hover {
    font-weight: 900;
}


.navbar-brand img {
    height: 90px;
    width: 85px;
    margin-left: -10px;
}

/* Right section layout */
.navbar-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.dropdown {
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-content.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    color: black;
    padding: 0 15px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-btn {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(15, 10, 66);
    margin-left: auto;
}

.menu-btn :hover {
    background: #858282;
    padding: 2px;
}

/* Mobile view adjustments */
/* Hide mobile-only links by default */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .navbar-right>a,
    .navbar-right>.dropdown:not(:last-child) {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .menu-btn {
        display: block;
        margin-left: auto;
    }

    .dropdown-content {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        width: 200px;
        background: white;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}

@media (max-width: 480px) {
    .navbar-brand img {
        height: 60px;
        width: 60px;
    }
}


/*Pop up modal*/
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    width: 90%;
    max-width: 30%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 5% auto;
    display: block;
}

/* Make image larger on smaller screens */
@media (max-width: 768px) {
    .modal-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        margin: 0;
        box-shadow: none;
    }
}

/* Adjust close icon on mobile screens */
@media (max-width: 480px) {
    .close {
        font-size: 24px !important;
        top: 10px !important;
        right: 15px !important;
        max-width: 80%;
        max-height: 100%;
        object-fit: contain;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    position: relative;
    padding: 350px 20px;
    height: 450px;
}

.header-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Medium screens (tablet) */
@media (max-width: 992px) {
    .hero-section {
        padding: 200px 20px;
    }

    .header-image {
        height: 500px;
    }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
    .hero-section {
        padding: 150px 15px;
    }

    .header-image {
        height: 400px;
    }
}

/* Extra small screens (very small mobiles) */
@media (max-width: 480px) {
    .hero-section {
        padding: 200px 20px;
    }

    .header-image {
        height: 400px;
    }
}

/** Counter section **/
.counter-section {
    padding: 50px 30px;
    text-align: center;
    background: var(--light);
    width: 80%;
    margin: auto;
    margin-top: -50px;
    border-radius: 50px;
}

.counter-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.startup-counter-box,
.investor-counter-box {
    background: var(--primary);
    border: 1px solid #ffffff22;
    border-radius: 50px;
    padding: 40px 30px;
    width: 300px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.investor-counter-box {
    background: var(--secondary);
}

.startup-counter-box:hover,
.investor-counter-box:hover {
    transform: scale(1.05);
}

.counter-icon {
    font-size: 38px;
    color: var(--light);
    margin-bottom: 15px;
}

.startup-counter-box h3,
.investor-counter-box h3 {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--light);
    margin: 10px 0;
}

.startup-counter-box p,
.investor-counter-box p {
    font-size: 1.7rem;
    color: var(--light);
    margin: 0;
    font-weight: 900;
    letter-spacing: 1px;
    font-family: "Orbitron", sans-serif;
    text-transform: uppercase;
}

/* Medium screens */
@media (max-width: 992px) {
    .counter-container {
        gap: 50px;
    }

    .startup-counter-box,
    .investor-counter-box {
        width: 250px;
        padding: 30px 20px;
    }

    .startup-counter-box h3,
    .investor-counter-box h3 {
        font-size: 2.4rem;
    }

    .startup-counter-box p,
    .investor-counter-box p {
        font-size: 1.4rem;
    }
}

/* Small screens (tablets and mobile) */
@media (max-width: 768px) {
    .counter-container {
        gap: 30px;
    }

    .startup-counter-box,
    .investor-counter-box {
        width: 80%;
        padding: 25px 20px;
    }

    .startup-counter-box h3,
    .investor-counter-box h3 {
        font-size: 2rem;
    }

    .startup-counter-box p,
    .investor-counter-box p {
        font-size: 1.2rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {

    .startup-counter-box,
    .investor-counter-box {
        width: 90%;
        padding: 20px 15px;
    }

    .startup-counter-box h3,
    .investor-counter-box h3 {
        font-size: 1.8rem;
    }

    .startup-counter-box p,
    .investor-counter-box p {
        font-size: 1rem;
    }
}


/* About Section */
.about-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: -50px;
    background: white;
    overflow: hidden;
}

/* Card styles */
.about-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px 40px;
    max-width: 1300px;
    width: 100%;
    text-align: justify;
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.096);
    position: relative;
}

/* Paragraph */
.about-para {
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: 1px;
    color: #2b2b2b;
    margin-bottom: 30px;
    font-weight: 600;
}

.about-para .highlight {
    font-weight: bold;
    color: #006400;
    font-size: 1.25rem;
}

/* CTA Button */
.about-floating-btn {
    display: flex;
    justify-content: center;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    background-color: #006400;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    height: 45px;
    padding: 0 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.learn-more-link:hover {
    background-color: #008000;
    transform: scale(1.05);
}

.learn-more-link .nav-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Medium screens */
@media screen and (max-width: 1024px) {
    .about-para {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .about-card {
        padding: 25px 30px;
    }

    .learn-more-link {
        height: 42px;
        padding: 0 18px;
        font-size: 0.95rem;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    .about-para {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-card {
        padding: 20px 25px;
    }

    .learn-more-link {
        height: 40px;
        padding: 0 16px;
        font-size: 0.9rem;
    }
}

/* Small mobiles */
@media screen and (max-width: 480px) {
    .about-para {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    .about-card {
        padding: 15px 20px;
    }

    .learn-more-link {
        height: 38px;
        padding: 0 14px;
        font-size: 0.85rem;
    }

    .learn-more-link .nav-icon {
        font-size: 1rem;
    }
}


/*Why SAPL*/
.why-section {
    padding: 80px 20px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-container {
    width: 100%;
    text-align: center;
}

.why-container img {
    max-width: 100%;
    height: auto;
    margin-top: 30px;

}

.why-container h1 {
    margin-top: -50px;
}

.highlight {
    color: var(--secondary);
    font-weight: bold;
}

.light {
    color: var(--primary);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .left-image img {
        width: 85%;
        height: 400px;
        margin-top: 100px;
        margin-left: 30px;
    }

    .right-content {
        padding: 50px 30px;
    }

    .card-grid {
        gap: 20px;
    }

    .why-card h3 {
        font-size: 16px;
    }

    .why-card p {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .why-section {
        flex-direction: column;
        min-height: auto;
    }

    .left-image {
        text-align: center;
    }

    .left-image img {
        width: 80%;
        height: 280px;
        margin: 40px auto 0 auto;
    }

    .right-content {
        padding: 30px 20px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-card h3 {
        font-size: 15px;
    }

    .why-card p {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .left-image img {
        width: 100%;
        height: 220px;
        margin-top: 20px;
        margin-left: 0;
        border-radius: 60px 0 0 60px;
    }

    .right-content {
        padding: 20px 15px;
    }

    .why-card {
        padding: 15px 20px;
    }

    .why-card h3 {
        font-size: 14px;
    }

    .why-card p {
        font-size: 12px;
    }
}

/*** sectors ***/

.sector-container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 50px 0;
    text-align: center;
}

.sector-section {
    margin-bottom: 50px;
}

.sector-section h2 {
    color: darkblue;
    letter-spacing: 1px;
    font-size: 2.2rem;
}

.sector-section h3 {
    color: darkgreen;
    font-size: 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 40px);
    max-width: 500px;
    transition: transform 0.3s;
    border: 1px solid darkblue;
}

.service-item h4 {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.service-item p {
    text-align: justify;
    color: darkgreen;
    justify-content: space-between;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 20px;
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 30px;
    background: var(--primary);
    transform: rotate(0deg);
}

.get-started-short {
    margin-top: 60px;
    text-align: center;
    background: #e0e2fa;
    padding: 20px 20px;
    width: fit-content;
    margin: auto;
    margin-top: 20px;
    border-radius: 100px;
}

.get-started-short h2 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
    animation: fadeGlow 2s infinite ease-in-out;
    font-family: "Poiret One", sans-serif;
}

@keyframes fadeGlow {

    0%,
    100% {
        text-shadow: 0 0 10px #a0ffe2;
    }

    50% {
        text-shadow: 0 0 20px #40e0d0;
    }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .service-item {
        flex: 1 1 calc(45% - 30px);
    }

    .sector-section h2 {
        font-size: 1.8rem;
    }

    .get-started-short h2 {
        font-size: 2rem;
    }
}

/* Small screens (mobiles) */
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 calc(100% - 20px);
    }

    .sector-section h2 {
        font-size: 1.5rem;
    }

    .sector-section h3 {
        font-size: 1.3rem;
    }

    .get-started-short h2 {
        font-size: 1.6rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .sector-section h2 {
        font-size: 1.3rem;
    }

    .sector-section h3 {
        font-size: 1.1rem;
    }

    .get-started-short h2 {
        font-size: 1.3rem;
    }
}

/***Live CHat 

.chatContainer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-icon {
    position: fixed;
    bottom: 20px;
    right: 30px;
    background: var(--secondary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.chat-box {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.chat-body {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chat-footer input {
    flex: 1;
    padding: 5px;
}

.chat-footer button {
    background: #095e14;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.message {
    padding: 5px;
    margin: 5px 0;
    border-radius: 5px;
}

.user {
    background: #e1f5fe;
    text-align: right;
}

.bot {
    background: #f1f1f1;
    text-align: left;
}

***/
/*** Footer ***/

.footer-section {
    background: var(--dark);
    color: var(--light);
    position: relative;
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column h4 {
    color: var(--light);
}

.footer-column {
    flex: 1 1 200px;
    min-width: 200px;
    color: var(--light);
    margin-left: 100px;

}

.footer-column h3 {
    color: var(--light);
    margin-bottom: 15px;
    font-family: "Poiret One";
}

.footer-column p {
    letter-spacing: 1.5px;
    font-weight: 400;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 8px 0;
    letter-spacing: 1px;
    font-weight: 400;
}

.footer-column ul li a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

.footer-column ul li a:hover {
    color: var(--light);
    text-decoration: underline;
}



.social-links a {
    color: var(--light);
    margin-right: 10px;
    font-size: 18px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--light);
    border: 1px solid var(--light);
    padding: 2px 2px;
    border-radius: 10px;
    border: 1px solid var(--light);
    padding: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 15px 30px;
    font-size: 13px;
    width: 100%;
    color: var(--light);
    background-color: var(--dark);
}

/* Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




/*** Button ***/
.btn {

    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}