/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Desktop Header Styling */
.desktop-header {
    display: flex;
    align-items: center;
    border-top: 2px solid #00bfff;
    border-bottom: 2px solid #00bfff;
    background-color: #fff;
    padding: 0px 0px 0px 150px;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
    padding: 10px 10px;
}

.logo img {
    height: 40px;
    margin-right: 10px; /* Space between logo and company name */
}

.company-name {
    font-size: 18px;
    color: #00bfff;
    font-weight: bold;
    margin-right: 100px;
}

.desktop-nav {
    display: flex;
    gap: 0px; /* Space between each nav item */
}

.desktop-nav a {  
    color: #00bfff;
    text-decoration: none;
    font-weight: bold;
    padding: 20px 30px;
    transition: background-color 0.3s, color 0.3s;
}

.desktop-nav a:hover {
    background-color: #00bfff;
    color: #fff;
    border-radius: 0px;
}

.desktop-nav a.active {
    background-color: #00bfff;
    color: #fff;
    border-radius: 0px;
}

/* Hero Section Styling */
.hero-section {
    background-image: url('pexels001.jpeg'); /* Path to the hero image */
    background-size: cover;
    background-position: center;
    height: 60vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

/* Tinted Overlay */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust the color and opacity as needed */
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 1; /* Ensure content is above the overlay */
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 100px;
}

.hero-section p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Primary button style */
.primary-btn {
    background-color: #00bfff;
    color: #fff;
}

.primary-btn:hover {
    background-color: #0099cc;
}

/* Secondary button style */
.secondary-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.secondary-btn:hover {
    background-color: #fff;
    color: #00bfff;
}

/* Mobile Header Styling */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 3px solid #00bfff;
    border-bottom: 3px solid #00bfff;
    background-color: #fff;
    padding: 10px;
}

.logo img {
    height: 40px;
}

.company-name {
    font-size: 18px;
    color: #00bfff;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
}

.mobile-toggle {
    font-size: 18px;
    color: #00bfff;
    cursor: pointer;
    height: 40px;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

/* Mobile Nav Menu */
.mobile-nav {
    position: fixed;
    bottom: -100%; /* Hidden off-screen */
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #00bfff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transition: bottom 0.4s ease; /* Smooth fly-up animation */
    z-index: 10;
}

.mobile-nav a {
    color: #00bfff;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.mobile-nav a:hover {
    background-color: #00bfff;
    color: #fff;
}

/* Active State for Fly-Up Animation */
.mobile-nav.active {
    bottom: 0; /* Fly up to visible position */
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav.active {
    display: flex;
}

/* Mobile View - Adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-content {
        max-width: 90%;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 250px; /* Limit button width */
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

.feature-section {
    position: relative;
    height: 100vh;
    background: url('../images/experts.jfif') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.feature-details {
    position: relative;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 8px;
    margin-right: 20px;
    animation: slideInFromLeft 1s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.feature-details h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FFD700;
}

.feature-details ul {
    list-style: none;
    padding: 0;
}

.feature-details ul li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: white;
}

.cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
    animation: pulse 1.5s infinite;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.1);
}

.product-card {
    position: relative;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 15px 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

@media (max-width: 768px) {
    .feature-section {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 20px;
    }

    .feature-content {
        flex-direction: column;
    }

    .feature-details {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .product-card {
        margin: 20px auto;
    }
}

.explore-section {
    max-width: 1200px;
    margin: 130px 50px;
    text-align: center;
}

.explore-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.explore-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.explore-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.explore-card:hover {
    transform: translateY(-5px);
}

.explore-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(19, 86, 112, 0.6);
    color: #fff;
    font-size: 16px;
    padding: 30px;
    text-align: center;
}

.work-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 150px auto;
    padding: 50px 50px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.work-text {
    flex: 1;
    max-width: 600px;
    padding: 20px;
}

.work-text h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.work-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.work-text .highlight {
    font-weight: bold;
    color: #2a7c2a;
}

.work-text .cta {
    margin-top: 20px;
}

.work-text .cta a {
    display: inline-block;
    text-decoration: none;
    background-color: #157e8b;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.work-text .cta a:hover {
    background-color: #0b81b8;
}

.work-image {
    flex: 1;
    max-width: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.work-image img {
    width: 100%;
    height: 400px;
    display: block;
}

@media (max-width: 768px) {
    .work-section {
        flex-direction: column;
    }

    .work-text, .work-image {
        max-width: 100%;
    }
}

/* Footer Section Styling */
.footer-section {
    background-color: #002856;
    color: #fff;
    padding-top: 40px;
    font-family: Arial, sans-serif;
}

.footer-top {
    background-color: #00bfff; /* Light blue background for Social Media */
    text-align: center;
    padding: 20px;
}

.footer-top h2 {
    font-size: 1.8rem;
    color: #002856;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.social-img {
    width: 60px; /* Set a fixed size for all social media images */
    height: 60px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition on hover */
}

.social-icons a:hover .social-img, .footer-social-icons a:hover .social-img {
    transform: scale(1.1); /* Slightly enlarge icon on hover */
    opacity: 0.8; /* Reduce opacity on hover for effect */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1;
    padding: 10px;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-col ul {
    list-style-type: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #1ee9e9;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-social-icons a {
    color: #b0c4de;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.footer-social-icons a:hover {
    color: #00ff00;
}

.footer-col form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col input[type="email"] {
    padding: 10px;
    border: 1px solid #b0c4de;
    border-radius: 4px;
    background: #002856;
    color: #fff;
}

.footer-col button {
    padding: 10px;
    background-color: #00bfff;
    color: #002856;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-col button:hover {
    background-color: #007f00; /* Green on hover */
}

.footer-bottom-bar {
    text-align: center;
    padding: 20px;
    background-color: #003366;
    color: #b0c4de;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-bar p {
    margin: 0;
}

.payment-icons img {
    width: 300px;
    margin-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
    }
}
