/* 1. Global Reset - Added box-sizing */

* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(237, 239, 245, 0.7), rgba(244, 245, 250, 0.7)), url(assets/background.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #4e4ef8;
    text-decoration: none;
    font-size: 14px;
}

.nav-links ul li::after {
    content: '';
    width: 0;
    height: 2px;
    background: #f6720e;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover:after {
    width: 100%;
}

.text-box {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 58px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: black;
}

.hero-btn {
    display: inline;
    text-decoration: none;
    color: blue;
    border: 1px solid;
    padding: 12px;
    font-size: 14px;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.login-btn {
    display: inline;
    text-decoration: none;
    text-decoration-color: aliceblue;
    border: 1px solid;
    padding: 12px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    position: relative;
    border-radius: 10px;
}

.login-btn {
    display: inline-block;
    /* Changed from 'inline' to 'inline-block' for better padding */
    text-decoration: none;
    border: 1px solid #d2b48c;
    /* Subtle tan border */
    padding: 12px 25px;
    /* Added more horizontal padding for a better look */
    font-size: 14px;
    background: tomato;
    /* This is a nice "Potato" / Tan color */
    color: #4b3621;
    /* Dark brown text for high contrast */
    cursor: pointer;
    position: relative;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
    /* Smoother transition */
}

.login-btn:hover {
    border: 1px solid #c5a069;
    background: #d4a76a;
    /* Slightly darker on hover */
    color: #fff;
    /* Text turns white on hover */
    transform: translateY(-2px);
    /* Subtle lift effect */
}

.hero-btn:hover {
    border: 1px solid #f6720e;
    background: #f6720e;
    transition: 1s;
}

.login-btn:hover {
    border: 1px solid #f6720e;
    background: #f6720e;
    transition: 1s;
}

nav .fa {
    display: none;
}

@media(max-width:700px) {
    .text-box h1 {
        font-size: 18px;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: absolute;
        background: #ffff;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -250px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa {
        display: block;
        color: #f6720e;
        margin: 10px;
        font-size: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links {
        padding: 20px;
    }
}


/*--------------about-----*/

.about {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    font-size: 13px;
    color: #1c1c1c;
    font-weight: 300;
    line-height: 22px;
    padding: 20px;
}


/* Container styling */

.services {
    padding: 60px 0;
    text-align: center;
    background-color: #fcfcfc;
}

.services-intro {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #555;
    line-height: 1.6;
}


/* 2x3 Grid Logic */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on desktop */
    gap: 25px;
    padding: 0 5%;
}

.service-card {
    background: #fdf0f0;
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease-in-out;
}


/* Hover Effect */

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
    /* Optional brand color accent */
}


/* Make the 6th card stand out */

.service-card.highlight {
    background: #007bff;
    color: #fff;
}

.service-card.highlight p {
    color: #eee;
}


/* Responsive: 2 columns on tablets, 1 column on mobile */

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-box {
    display: flex;
    flex-wrap: wrap;
    background: #f4f7f6;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
    flex: 1;
    background: #007bff;
    /* Use your brand blue */
    color: #fff;
    padding: 40px;
}

.contact-form {
    flex: 1.5;
    padding: 40px;
    background: #fff;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.btn-submit {
    background: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #0056b3;
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .contact-box {
        flex-direction: column;
    }
}

.final-cta {
    background: #0a192f;
    /* Deep Navy Blue */
    color: white;
    padding: 90px 20px;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons a {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    /* Clean rectangular-round style */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Telegram Color */

.btn-telegram {
    background-color: #0088cc;
    color: white;
}


/* Facebook Color */

.btn-facebook {
    background-color: #1877f2;
    color: white;
}


/* Primary Action Color */

.btn-primary {
    background-color: #ffcc00;
    /* High-contrast gold */
    color: #1a1a1a;
}

.cta-buttons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


/* Mobile View */

@media (max-width: 600px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

.footer {
    width: 100%;
    background-color: #04091e;
    /* Matches Header Overlay */
    color: #090101cc;
    padding: 70px 0 20px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    /* Change from #090101cc to white */
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 6%;
}

.footer-col {
    flex-basis: 22%;
    margin-bottom: 30px;
}

.footer-col p {
    color: #bbb;
    /* Makes the description text readable on dark blue */
}

.footer-col img {
    width: 140px;
    margin-bottom: 25px;
}

.footer-col h3 {
    color: #ffcc00;
    /* Ardi Gold */
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 600;
}

.footer-col ul li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: 0.4s;
}

.footer-col ul li a:hover {
    color: #ffcc00;
    padding-left: 5px;
}


/* Address Icon Styling */

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
}

.contact-item i {
    color: #ffcc00;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-item p {
    margin: 0;
    font-size: 14px;
    color: #bbb;
}


/* Social Icon Boxes */

.footer-socials {
    margin-top: 25px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #1e243a;
    color: #fff;
    margin-right: 10px;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: #ffcc00;
    color: #000;
}

.footer-socials a i {
    font-family: "FontAwesome" !important;
    font-style: normal;
    display: inline-block;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e243a;
    /* Subtle line to separate from columns */
    margin-top: 40px;
    font-size: 13px;
    color: #ffffff;
    /* This makes it pure white */
    opacity: 0.9;
    /* Optional: makes it slightly softer than pure white */
    letter-spacing: 1px;
}


/* Ensure the copyright area spans the full width of the footer */

.footer .copyright p {
    color: #ffffff !important;
    margin: 0;
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: #ffcc00;
    /* Ardi Gold */
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.footer-top-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.footer-top-link:hover {
    color: #ffffff;
}

.footer-top-link:hover i {
    transform: translateY(-5px);
    /* Small bounce effect */
}


/* Ensure the scroll is smooth and not a sudden jump */

html {
    scroll-behavior: smooth;
}


/* Tablet & Mobile Responsive */

@media(max-width: 900px) {
    .footer-col {
        flex-basis: 45%;
    }
}

@media(max-width: 600px) {
    .footer-col {
        flex-basis: 100%;
        text-align: left;
    }
}


/* Dropdown Container */

.dropdown {
    position: relative;
    display: inline-block;
}


/* Dropdown Menu Box */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #04091e;
    /* Matches your header overlay */
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    text-align: left;
    top: 100%;
    left: 0;
    border-top: 3px solid #ffcc00;
    /* Ardi Gold accent */
}


/* Links inside the menu */

.dropdown-content a {
    color: #fff !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}


/* Hover over menu links */

.dropdown-content a:hover {
    background-color: #1e243a;
    color: #ffcc00 !important;
    padding-left: 25px;
    /* Subtle slide effect */
}


/* Show menu on hover */

.dropdown:hover .dropdown-content {
    display: block;
}


/* Adjust the caret icon */

.fa-caret-down {
    font-size: 11px;
    margin-left: 5px;
}

@media(max-width: 700px) {
    .dropdown {
        display: block;
        width: 100%;
        text-align: left;
    }
    .dropdown-content {
        position: relative;
        background-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border: none;
        min-width: 100%;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

.map-container {
    overflow: hidden;
    padding-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 250px;
        /* Smaller height for mobile phones */
    }
}


/* About Section Styles */

.about {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Allows stacking on small screens */
}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #ffcc00;
    /* Optional: Adds a gold accent border */
}

.about-col h1 {
    padding-top: 0;
    font-size: 36px;
    font-weight: 600;
}

.about-col p {
    padding: 15px 0 25px;
    color: #555;
    line-height: 1.6;
}


/* Responsive adjustment for phones */

@media(max-width: 700px) {
    .about-col {
        flex-basis: 100%;
        text-align: center;
    }
}


/* 1. Define the 'float' movement logic */

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
        /* Moves up by 20 pixels */
    }
    100% {
        transform: translateY(0px);
        /* Returns to original position */
    }
}


/* 2. Apply it to your About Image */

.about-col img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid #ffcc00;
    /* Your Ardi Gold accent */
    /* Animation settings */
    animation: float 4s ease-in-out infinite;
    transition: 0.3s;
    /* Smooths out other interactions like hovering */
}


/* 3. Optional: Stop the animation when the user hovers over it */

.about-col img:hover {
    animation-play-state: paused;
    transform: scale(1.02);
    /* Slight zoom-in effect */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


/* --- CURVED HERO LAYOUT --- */


/* 2. Optimized Header */

.header {
    min-height: 100vh;
    /* Changed from height to min-height for flexibility */
    width: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    /* Force flex on the parent */
    flex-direction: column;
}


/* 3. Fixed Hero Flex logic */

.hero-flex {
    display: flex;
    width: 100%;
    flex: 1;
    /* Makes it fill the remaining space of the 100vh header */
    align-items: stretch;
    /* Ensures both sides are the same height */
}


/* 4. Ensure the Left Side stays visible in Chrome */

.slideshow-side {
    flex: 1.3;
    position: relative;
    z-index: 2;
    background: #000;
    min-width: 0;
    /* Prevents flex items from overflowing in Chrome */
    clip-path: ellipse(90% 120% at 0% 50%);
    -webkit-clip-path: ellipse(90% 120% at 0% 50%);
    /* Vendor prefix for older Chrome */
}


/* Left side with the Curved Edge */

.slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.slideshow-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Zooming effect looks more professional than sliding */
    animation: zoomFade 36s ease-in-out infinite;
}


/* Right side Description */

.text-box-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Ensures content is centered */
    padding: 0 5%;
    background-color: #fcfcfc;
    background-image: radial-gradient(#e5e5e5 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    min-width: 0;
}

.text-container {
    display: grid;
    width: 100%;
}

.text-content {
    grid-area: 1 / 1;
    opacity: 0;
    animation: textFade 36s ease-in-out infinite;
}

.text-content h1 {
    font-size: 3.5rem;
    color: #005a9c;
    /* Professional blue */
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 450px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #005a9c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}


/* --- ANIMATIONS & SYNC --- */

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    4% {
        opacity: 1;
        transform: scale(1);
    }
    20% {
        opacity: 1;
        transform: scale(1);
    }
    24% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
    }
}

@keyframes textFade {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    4% {
        opacity: 1;
        transform: translateX(0);
    }
    20% {
        opacity: 1;
        transform: translateX(0);
    }
    24% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 0;
    }
}


/* Apply delays to match 6 items */

.text-content:nth-child(1),
.slideshow-image:nth-child(1) {
    animation-delay: 0s;
}

.text-content:nth-child(2),
.slideshow-image:nth-child(2) {
    animation-delay: 6s;
}

.text-content:nth-child(3),
.slideshow-image:nth-child(3) {
    animation-delay: 12s;
}

.text-content:nth-child(4),
.slideshow-image:nth-child(4) {
    animation-delay: 18s;
}

.text-content:nth-child(5),
.slideshow-image:nth-child(5) {
    animation-delay: 24s;
}

.text-content:nth-child(6),
.slideshow-image:nth-child(6) {
    animation-delay: 30s;
}


/* --- MOBILE OPTIMIZATION --- */

@media (max-width: 800px) {
    .hero-flex {
        flex-direction: column;
    }
    .slideshow-side {
        flex: none;
        height: 45vh;
        clip-path: ellipse(120% 100% at 50% 0%);
    }
    .text-box-side {
        padding: 40px 20px;
        text-align: center;
        justify-content: center;
    }
    .text-content h1 {
        font-size: 2.2rem;
    }
}