:root {
    --primary: #0e4d4d;
    --secondary: #ff7f50;
    --highlight: #ffcc00;
    --light-bg: #f3f3f3;
    --dark-bg: #1b1b1b;
    --white: #fff;
}

/* ===== GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--light-bg);
    color: #333;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5%;
    font-size: 14px;
}

.top-bar a {
    color: var(--white);
}

.top-bar a:hover {
    color: var(--highlight);
}

/* ===== NAVIGATION ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo-nav img {
    height: 80px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: var(--primary);
    font-weight: 600;
    padding: 8px 10px;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--secondary);
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--secondary);
}

/* ===== Dropdown in header ===== */
nav .dropdown {
    position: relative;
    display: inline-block;
}

nav .dropbtn {
    background: var(--secondary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

nav .dropbtn:hover {
    background: var(--highlight);
    color: var(--dark-bg);
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

nav .dropdown-content a {
    color: #0e4d4d;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    font-weight: 500;
}

nav .dropdown-content a:hover {
    background: #ffcc00;
    color: #0e4d4d;
}

nav .dropdown:hover .dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

/* ===== HERO SLIDER ===== */
#hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

#hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
}

#hero img.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    max-width: 600px;
    margin: auto;
}

.hero-button {
    margin-top: 20px;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.hero-button:hover {
    background: var(--highlight);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* ===== PRODUCT BAR BELOW HERO ===== */
.product-bar {
    background: #0e4d4d;
    color: #fff;
    padding: 25px 0;
    position: sticky;
    top: 80px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-weight: 600;
    font-size: 18px;
}

/* ===== OUR SOLUTION SECTION ===== */
.our-solution {
    background: linear-gradient(135deg, #f2f7f7, #e6efef);
    padding: 80px 6%;
    text-align: center;
}

.our-solution h2 {
    color: #0e4d4d;
    font-size: 36px;
    margin-bottom: 50px;
    letter-spacing: 1px;
    font-weight: 700;
}

.solution-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

.solution-card {
    text-align: center;
}

.flip-box {
    background-color: transparent;
    width: 320px;
    height: 260px;
    perspective: 1000px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.9s;
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.flip-box-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-box-back {
    background: #0e4d4d;
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.flip-box-back h4 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #ffcc00;
}

.flip-box-back p {
    font-size: 15px;
    margin-bottom: 15px;
}

.view-btn {
    background: #ff7f50;
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.view-btn:hover {
    background: #ffcc00;
    color: #0e4d4d;
}

.solution-card h3 {
    margin-top: 18px;
    color: #0e4d4d;
    font-size: 20px;
    font-weight: 600;
}

/* ===== FEATURES ===== */
.features {
    padding: 80px 5%;
    background: var(--white);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: var(--white);
    padding: 35px 25px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature i {
    font-size: 45px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 20px;
}

.feature p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0e4d4d, #1b1b1b);
    color: #ddd;
    padding: 70px 5% 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3,
.footer h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer p,
.footer li,
.footer a {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ccc;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: var(--highlight);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    color: var(--secondary);
    margin-right: 12px;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--highlight);
    transform: translateY(-3px);
}

.contact-info p i {
    color: var(--secondary);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding-top: 15px;
    color: #aaa;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 60px 4%;
    }

    .feature i {
        font-size: 38px;
    }

    .feature h3 {
        font-size: 18px;
    }

    .flip-box {
        width: 260px;
        height: 210px;
    }

    .solution-card h3 {
        font-size: 17px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        margin-top: 10px;
    }
}


.footer {
    /* gradient teal to dark grey */
    background: linear-gradient(135deg, #0e4d4d, #1b1b1b);
    color: #ddd;
    padding: 70px 5% 20px;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3,
.footer h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer p,
.footer li,
.footer a {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ccc;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: var(--highlight);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    color: var(--secondary);
    margin-right: 12px;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--highlight);
    transform: translateY(-3px);
}

.contact-info p i {
    color: var(--secondary);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding-top: 15px;
    color: #aaa;
    font-size: 14px;
}

@media(max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        margin-top: 10px;
    }
}