* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #3b6271 #f6f7fb;
    /* thumb-color track-color */
    scrollbar-width: thin;
}

body {
    line-height: 1.6;
    color: #092748;
    background-color: #f6f7fb;
    overflow-x: hidden;
    /* Prevent horizontal scrollbar during loader display */
}

h1,
h2,
h3 {
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: #3b6271;
    color: #f6f7fb;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: 2px solid white;
    /* Add white border here */
}

.btn:hover {
    background: #092748;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section {
    padding: 50px 0;
    scroll-margin-top: 2px;
}

/* Header & Navigation */
header {
    background-color: #f6f7fb;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    height: 100px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-image {
    padding-top: 5px;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    
}


.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: #3b6271;
    margin: 2px 0;
    transition: all 0.3s ease;
}

a[href^="tel:"] {
    color: inherit;
    /* Use the default text color of the parent element */
    text-decoration: none;
    /* Remove the underline */
    /* You can add other styles here if you want, like different font-weight, etc. */
}

a[href^="tel:"]:hover {
    color: #3b6271;
    /* Example: Keep your hover color if you have one for links */
    text-decoration: underline;
    /* Example: Add underline back on hover for visual cue */
}

@keyframes fly-rocket {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    10% {
        transform: translateX(20px) translateY(-5px) rotate(5deg) scale(1.02);
        opacity: 1;
    }
    20% {
        transform: translateX(40px) translateY(-10px) rotate(10deg) scale(1.04);
        opacity: 1;
    }
    30% {
        transform: translateX(60px) translateY(-15px) rotate(8deg) scale(1.06);
        opacity: 1;
    }
    40% {
        transform: translateX(80px) translateY(-18px) rotate(5deg) scale(1.08);
        opacity: 1;
    }
    50% {
        transform: translateX(100px) translateY(-20px) rotate(0deg) scale(1.1); /* Peak - level */
        opacity: 1;
    }
    60% {
        transform: translateX(120px) translateY(-18px) rotate(10deg) scale(1.08); /* Start nose down - POSITIVE rotation NOW */
        opacity: 1;
    }
    70% {
        transform: translateX(140px) translateY(-15px) rotate(20deg) scale(1.06); /* More nose down - POSITIVE rotation */
        opacity: 1;
    }
    80% {
        transform: translateX(160px) translateY(-10px) rotate(30deg) scale(1.04); /* Significantly nose down - POSITIVE rotation */
        opacity: 1;
    }
    90% {
        transform: translateX(180px) translateY(-5px) rotate(40deg) scale(1.02); /* Very nose down - POSITIVE rotation */
        opacity: 1;
    }
    100% {
        transform: translateX(220px) translateY(0px) rotate(60deg) scale(1.2); /* Final - extreme nose down, pointing downwards - POSITIVE rotation */
        opacity: 0; /* Fade out */
    }
}

.btn img.flying-rocket {
    animation: fly-rocket 1.4s ease-out forwards;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 45px;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #092748;
    font-weight: 700;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 20px;
}

.nav-links a:hover {
    color: #3b6271;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3b6271;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(59, 98, 113, 0.1);
    border-radius: 4px;
    z-index: -1;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links a:hover::after {
    transform: scale(1);
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    color: #f6f7fb;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 100px;
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease;
    position: relative;
}

.hero h1::before {
    content: '"';
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 48px;
    color: #f6f7fb;
}

.hero h1::after {
    content: '"';
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 48px;
    color: #f6f7fb;
}


.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeIn 1.5s ease 0.5s both;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.1);
    background-blend-mode: darken;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 39, 72, 0.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease-in-out, transform 8s ease;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}


.hero .btn {
    animation: fadeIn 1.5s ease 1s both;
    display: inline-block;
    background: #f6f7fb;
    color: #092748;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.hero .btn:hover {
    background-color: #3b6271;
    color: #f6f7fb;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #f6f7fb;
}


/* About Section */
.about {
    background-color: #e5ecf1;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 100px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #092748;
    position: relative;
    text-transform: uppercase;
}

.about h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 180px;
    height: 3px;
    background: #3b6271;
}

/* Services Section */
.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #092748;
    position: relative;
    text-transform: uppercase;
}

.services h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1px;
    width: 250px;
    height: 3px;
    background: #3b6271;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Services Section - Modified Card Styling for Raised Effect */
.service-card {
    background: #f6f7fb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    /* Shadow applied by default */
    opacity: 0;
    transform: translateY(40px);
    /* Slightly less initial translateY for raised look */
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
    height: 300px;
    flex: 1 1 300px;
    /* Fixed height for consistency */
    transform: translateY(-10px);
    /* Raised by default */
}

/* For single card in the last row */
.service-card:nth-child(3n+1):last-child {
    margin-left: auto;
    margin-right: auto;
    max-width: auto;
    
}
.service-card.visible {
    opacity: 1;
    transform: translateY(-10px);
    /* Maintain raised position even when visible */
}

.service-card:hover {
    transform: translateY(-15px);
    /* Even more raised on hover */
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
    /* Stronger shadow on hover */
}


.service-img {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(246, 247, 251, 0.9);
    transform: translateY(calc(100% - 60px));
    /* Only show the title initially */
    transition: transform 0.4s ease;
}

.service-card:hover .service-content {
    transform: translateY(0);
    /* Show full content on hover */
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #092748;
    position: relative;
    color: #092748;
}

.service-content p {
    font-size: 14px;
    color: #092748;
    opacity: 0.9;
    margin-top: 10px;
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(59, 98, 113, 0.9), rgba(9, 39, 72, 0.8)), url('/api/placeholder/1200/800') center/cover no-repeat;
    color: #f6f7fb;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    padding-top: 20px;
    text-transform: uppercase;
}

.contact h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1px;
    width: 225px;
    height: 3px;
    background: #e5ecf1;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-item i {
    margin-right: 15px;
    color: #e5ecf1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background: rgba(229, 236, 241, 0.1);
    color: #f6f7fb;
    border: 1px solid rgba(246, 247, 251, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(246, 247, 251, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f6f7fb;
    background: rgba(229, 236, 241, 0.2);
}

/* Footer */
footer {
    background: #f6f7fb;
    color: #092748;
    padding: 50px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-links {
    display: flex;
    list-style: none;
    margin: 20px 0;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: #092748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b6271;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #3b6271;
}

/* Custom Scrollbar Styles */
/* Targeting Webkit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 10px;
    /* Adjust width as needed */
}

::-webkit-scrollbar-track {
    background-color: #f6f7fb;
    /* Light background color from your body */
}

::-webkit-scrollbar-thumb {
    background-color: #3b6271;
    /* Secondary color from your buttons/links */
    border-radius: 5px;
    /* Optional: round the thumb corners */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #092748;
    /* Primary dark color on hover */
}

/* For Firefox (using non-webkit standard, less customizable) */
/* If you want basic styling for Firefox too */

/* Hamburger menu animation styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 25px;
    height: 20px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: #3b6271;
    transition: all 0.3s ease;
    position: absolute;
    border-radius: 2px;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 8px;
    /* Center the middle line */
}

.menu-toggle span:nth-child(3) {
    top: 16px;
    /* Position the bottom line properly */
}

/* Transform to X when active */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.btn img {
    margin-left: 10px;
    /* Adjust this value to increase or decrease spacing */
    vertical-align: middle;
    /* Keep vertical alignment if needed */
    margin-right: 15px;
    /* Keep right margin if you intend to have spacing after the icon as well */
    width: 25px;
    height: 25px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Loader Styles */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f6f7fb;
    /* Primary light color for loader background */
    z-index: 1001;
    /* Higher than header */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#page-loader.hide {
    opacity: 0;
    pointer-events: none;
    /* Make loader disappear for interaction */
}

.loader-inner {
    position: relative;
    width: 60px;
    height: 60px;
}

.loader-circle {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    animation: loader-rotate 1.2s linear infinite;
}

.circle-outer {
    border-width: 3px;
    border-color: #3b6271 transparent #3b6271 transparent;
    /* Secondary color */
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
}

.circle-middle {
    border-width: 3px;
    border-color: #092748 transparent #092748 transparent;
    /* Primary dark color */
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    animation-direction: reverse;
}


@keyframes loader-rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Base styles for contact-info-item */
.contact-info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.address-icon {
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.qr-code {
    width: 200px;
    height: 200px;
}

/* Responsive Design */
@media (min-width: 769px) {
    .service-card {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }

    .logo-image {
        max-height: 100px;
        padding: 5px 0;
    }

    .about h2,
    .services h2,
    .contact h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0;
        height: 70px;
    }

    .logo-image {
        max-height: 100px;
        padding: 5px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .service-card {
        height: 280px;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #f6f7fb;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .hero {
        padding-top: 70px;
    }

    html {
        scroll-padding-top: 70px;
    }

    section {
        scroll-margin-top: 70px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-container {
        flex-direction: column;
    }

    section {
        padding: 60px 0;
    }

    .service-card {
        margin-bottom: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: flex;
    }

    /* Added styles for contact-info-item */
    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .address-content {
        text-align: left;
    }

    .qr-code {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    header {
        height: 60px;
    }

    .logo-image {
        max-height: 90px;
    }

    html {
        scroll-padding-top: 60px;
    }

    section {
        scroll-margin-top: 60px;
    }

    .hero {
        padding-top: 60px;
    }

    .nav-links {
        top: 60px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .about h2,
    .services h2,
    .contact h2 {
        font-size: 28px;
    }

    .service-img {
        height: 180px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .footer-logo img {
        max-height: auto;
    }

    .service-card {
        height: 250px;
    }

    .service-content {
        padding: 15px;
        transform: translateY(calc(100% - 50px));
    }

    .service-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .qr-code {
        width: 280px; /* Adjust size for smaller screens if needed */
        height: 280px;
    }
}