html {
    scroll-behavior: smooth; /* Enable smooth scrolling for anchor links */
}

/* General Resets & Body Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /* Create space for the fixed header */
    padding-top: 80px; 
}

/* Header Styles */
.site-header {
    width: 100%;
    height: 80px;
    background-color: #ffffff; /* Reverted to white background */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Restored shadow */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-text {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    color: #000; /* Reverted to black text */
}

.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 80px;
    
}

/* New Dropdown Styles */
.main-nav li {
    position: relative; /* Needed for dropdown positioning */
}

.main-nav a, .dropdown-btn {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 25px;
    text-decoration: none;
    color: #000; /* Reverted to black text */
    font-size: 20px; /* Reverted to original font size */
    font-weight: 500; /* Reverted to original font weight */
    transition: color 0.3s ease, background-color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.main-nav a:hover {
    color: #BFA44E; /* Original hover effect */
}

.main-nav a.active {
    background-color: #BFA44E; /* Gold background for active link */
    color: #ffffff; /* White text for active link */
}



.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    height: auto; /* Override header link height */
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: #BFA44E;
}

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

/* Main Slider Section */
.main-slider {
    position: relative;
    height: 550px; /* Set fixed height */
    width: 100%;
    background: #e0e0e0;
}

.main-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.main-slider .slide.active {
    display: block;
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.slide-text {
    position: absolute;
    left: 50px; /* Repositioned to match image */
    top: 75%;  /* Repositioned to match image */
    transform: translateY(-50%);
    color: #ffdd00;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.slide-text h2, .slide-text h3 {
    font-size: 4vw;
    font-weight: 700;
    margin: 0.2em 0;
    border-bottom: 3px solid #ffdd00;
    padding-bottom: 5px;
    display: inline-block;
}

.slider-nav {
    position: absolute;
    bottom: 80px; /* Moved inside the banner */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    z-index: 10;
}

.slider-nav-container {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.slider-nav-item {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-right: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.slider-nav-item:last-child {
    border-right: none;
}

.slider-nav-item:hover, .slider-nav-item.active {
    background-color: #f5f5f5;
}

.slider-dots {
    position: absolute;
    bottom: 40px; /* Moved inside the banner */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.slider-dots .dot.active, .slider-dots .dot:hover {
    background-color: #ccc;
    border-color: #ccc;
}

/* Global Solutions Section */
.global-solutions {
    padding: 120px 0 80px 0; /* Adjusted padding to account for slider nav */
    text-align: center;
}

.global-solutions .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

.section-title h2 strong {
    font-weight: 700;
    color: #BFA44E;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.solution-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-icon {
    margin-bottom: 20px;
}

.solution-icon i {
    font-size: 50px;
    color: #BFA44E;
    transition: transform 0.3s ease;
}

.solution-item:hover .solution-icon i {
    transform: scale(1.1);
}

.solution-item h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

.section-cta {
    margin-top: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: #BFA44E;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #a68a3a;
}

.btn-primary i {
    margin-left: 10px;
}

/* Our Work Section (Flipping Cards) */
.our-work-section {
    padding: 80px 0;
    background-color: #3a3a3a; /* Dark grey from image */
    text-align: center; /* Center the section's content */
}

.our-work-section .section-title h2 {
    color: #00aaff; /* Blue text color from image */
    font-size: 42px;
}

.our-work-section .section-title {
    position: relative;
    margin-bottom: 70px;
}

.our-work-section .section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #555;
    margin: 20px auto 0;
}

.flipping-cards-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.flip-card {
    background-color: transparent;
    width: 400px;
    height: 250px;
    perspective: 1000px; /* For 3D effect */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.flip-card-front {
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.flip-card-front h3 {
    width: 100%;
    padding: 15px;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 20px;
}

.flip-card-back {
    background-color: #BFA44E;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.flip-card-back p {
    font-size: 15px;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 0;
    background-color: #f5f5f5; /* Light grey background */
    text-align: center; /* Center the main section title */
}

.why-choose-us-section .section-title h2 {
    color: #333; /* Darker text for light background */
}

.reasons-grid {
    display: grid;
    /* Use a fixed 3-column layout with fixed-width columns */
    grid-template-columns: repeat(3, 360px); 
    gap: 30px;
    justify-content: center; /* Center the grid on the page */
    text-align: left; /* Align content within cards to the left */
}

.reason-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px); /* Reduced hover lift */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reason-card img {
    width: 100%;
    height: 180px; /* Reduced image height */
    object-fit: cover;
}

.card-content {
    padding: 20px 25px 25px; /* Adjusted padding */
}

.card-content h3 {
    font-size: 18px; /* Adjusted font size */
    font-weight: 700;
    color: #BFA44E;
    margin: 0 0 15px 0;
    padding-bottom: 10px; /* Add space for the underline */
    border-bottom: 1px solid #eee; /* Add a subtle underline */
    display: inline-block; /* Make underline only span the text width */
}

.card-content p {
    font-size: 15px; /* Adjusted font size */
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Footer Styles */
.site-footer-bottom {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 220px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.footer-nav, .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li, .contact-info li {
    margin-bottom: 10px;
}

.footer-nav a, .contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover, .contact-info a:hover {
    color: #BFA44E;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #BFA44E;
    text-transform: uppercase;
}

.contact-info li {
    line-height: 1.6;
    color: #ccc;
}

.select-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.select-wrapper select {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 5px;
    appearance: none;
}

.select-wrapper::after {
    content: '▼';
    font-size: 12px;
    color: #fff;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.social-icons .social-icon:hover {
    background-color: #BFA44E;
    border-color: #BFA44E;
}

.footer-bottom-bar {
    border-top: 1px solid #333;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer-bottom-bar p {
    margin: 0;
    font-size: 14px;
    color: #aaa;
}
