/* Basic Resets & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #000; /* Changed to black for white background */
    background-color: #fff; /* Changed to white */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    background: #fff; /* Changed to white */
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure header is on top */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

/* Logo Styling */
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation */
nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    margin-left: 35px;
}

nav ul li a {
    text-decoration: none;
    color: #000; /* Changed to black */
    font-weight: 600;
    padding: 12px 5px;
    display: block;
    transition: all 0.3s ease;
    font-size: 16px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: #ff0000; /* Changed to red */
    transition: all 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

nav ul li a:hover {
    color: #ff0000; /* Changed to red */
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Hidden by default on larger screens */
    background: none;
    border: none;
    font-size: 24px;
    color: #000; /* Changed to black */
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: #f8f9fa;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff; /* Changed to white */
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1001; /* Ensure dropdown is above other content */
    border-top: 3px solid #ff0000; /* Changed to red */
    border-radius: 0 0 10px 10px;
    right: 0; /* Align to the right of the parent li */
    top: 100%; /* Position below the parent li */
    overflow: hidden;
}

.dropdown-content a {
    color: #000; /* Changed to black */
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #ff0000; /* Changed to red */
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-toggle .fas {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle .fas {
    transform: rotate(180deg);
}

/* Main Content Wrapper */
.main-content {
    padding: 0;
    display: flex;
    justify-content: center;
}

.content-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    flex: 1;
}

/* Hero Section (Banner) */
.hero-section {
    padding: 0;
    margin: 0;
    width: 100vw; /* Full horizontal length */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.hero-content {
    display: flex;
    min-height: 550px;
    width: 100%; /* Ensure it fills the 100vw container */
    max-width: none; /* Remove max-width constraint */
    margin: 0 auto;
    flex-direction: column;
    gap: 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0; /* Remove border-radius for full width */
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-top: 0; /* Changed to 0 to touch the header */
    
        background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("Images/bg.jpg");
    
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: none; /* Removed the pseudo-element overlay */
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    color: #000; /* Changed to black */
    font-size: 3.5em;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.033em;
    text-shadow: none; /* Removed text shadow */
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #000; /* Changed to black */
    font-size: 1.4em;
    font-weight: 1000;
    line-height: 1.4;
    text-shadow: none; /* Removed text shadow */
    max-width: 600px;
}

/* Section Titles */
.section-title {
    color: #000; /* Changed to black */
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    padding: 16px 16px 12px;
    margin: 60px 0 40px 60px;
    position: relative;
    text-align: center; /* Center the section title */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%; /* Center the pseudo-element */
    transform: translateX(-50%); /* Adjust for centering */
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #ff4d4d); /* Changed to red gradient */
    border-radius: 2px;
}

/* Partner Sections Specific Styles */
.partner-section {
    display: flex;
    align-items: center; /* Align items to the center vertically */
    justify-content: center; /* Center the content and image block */
    gap: 40px; /* Space between text and image */
    padding: 40px 160px; /* Apply horizontal padding */
    margin-bottom: 20px;
}

.partner-content {
    flex: 1; /* Allows content to take available space */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between paragraphs */
}

.partner-content h3 {
    color: #000; /* Changed to black */
    font-size: 24px; /* Larger heading for partner names */
    font-weight: 700;
    margin-bottom: 10px;
}

.partner-text{
    color: #000; /* Changed to black */
    font-size: 16px;
    line-height: 1.6;
    text-align: justify; /* Justify text */
}
.partner-text:hover{
    color:blue
}

.partner-image-wrapper {
    flex-shrink: 0; /* Prevents image from shrinking */
    width: 300px; /* Fixed width for the image container */
    height: 300px; /* Fixed height for a square image */
    border-radius: 12px;
    overflow: hidden; /* Ensures image respects border-radius */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Optional: add a subtle shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9; /* Light background in case image doesn't fill completely */
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to show full image without cropping */
    display: block; /* Removes extra space below image */
}

/* Order for content-left-image (image then content) */
.content-left-image {
    flex-direction: row;
}

/* Order for content-right-image (content then image) */
.content-right-image {
    flex-direction: row-reverse;
}


/* Spacer */
.spacer {
    height: 60px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2e2e2e 0%, #1a1a1a 100%);
    padding: 80px 160px 0;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-content-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
}

.footer-block h3 {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff0000; /* Changed to red */
}

.footer-block p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-block p i {
    margin-right: 10px;
    color: #ff0000; /* Changed to red */
    font-size: 16px;
    width: 20px;
}

/* Social Icons */
.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    background: #ff0000; /* Changed to red */
    transform: translateY(-3px);
}

.footer hr {
    border: none;
    border-top: 1px solid #444;
    margin: 40px 0;
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer-bottom .footer-text {
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-bottom .footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom .footer-links a {
    color: #cccccc;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-bottom .footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 50%;
    background-color: #ff0000; /* Changed to red */
    transition: all 0.3s ease;
}

.footer-bottom .footer-links a:hover::after {
    width: 100%;
    left: 0;
}

.footer-bottom .footer-links a:hover {
    color: #ff0000; /* Changed to red */
}

/* Responsive Design (Copied from allProducts.css and adapted) */
/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    .logo img {
        height: 100px;
        max-width: 300px;
    }
    .hero-title {
        font-size: 4em;
    }
    .hero-subtitle {
        font-size: 1.6em;
    }
    .section-title {
        font-size: 3.5em;
    }
    .partner-section {
        padding: 60px 200px;
    }
    .partner-image-wrapper {
        width: 350px;
        height: 350px;
    }
}

/* Desktop (1024px - 1399px) */
@media (max-width: 1399px) and (min-width: 1025px) {
    .logo img {
        height: 80px;
        max-width: 220px;
    }
    .hero-title {
        font-size: 3.2em;
    }
    .hero-subtitle {
        font-size: 1.3em;
    }
    .section-title {
        font-size: 3em;
        margin-left: 40px;
    }
    .partner-section {
        padding: 40px 120px;
    }
    .partner-image-wrapper {
        width: 280px;
        height: 280px;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .logo img {
        height: 75px;
        max-width: 200px;
    }
    .hero-title {
        font-size: 2.8em;
    }
    .hero-subtitle {
        font-size: 1.2em;
    }
    .section-title {
        font-size: 2.8em;
        margin: 40px 0 30px 40px;
    }
    .partner-section {
        flex-direction: column; /* Changed to column to stack properly */
        text-align: center;
        padding: 40px 60px;
    }
    .partner-content {
        text-align: center; /* Center text when stacked */
    }
    .partner-image-wrapper {
        width: 100%; /* Full width for image on smaller screens */
        max-width: 300px; /* Limit image width */
        height: 280px; /* Adjust height for tablet */
        margin-top: 20px; /* Add some space between text and image */
    }
    .footer {
        padding: 40px 40px 0; /* Apply the same footer padding as softDrinks.css */
    }
    .footer-content-main {
        gap: 30px; /* Apply the same gap as softDrinks.css */
        padding-bottom: 15px; /* Apply the same padding as softDrinks.css */
    }
    .footer hr {
        margin: 8px 0; /* Apply the same margin as softDrinks.css */
    }
    .footer-bottom {
        padding: 12px 0; /* Apply the same padding as softDrinks.css */
    }
}

/* Large Mobile / Small Tablet (600px - 767px) */
@media (max-width: 767px) {
    .container {
        width: 95%;
    }
    header .container {
        flex-wrap: nowrap; /* Prevent wrapping in header for logo and button */
        justify-content: space-between; /* Space between logo and button */
    }
    .logo {
        width: 200px;
        justify-content: flex-start;
        margin-top: 5px;
        height:30px;
    }
    .logo img{
       
        width:150px;

    }
    
    

    nav {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
      
    }

    nav ul {
        display: none; /* Hide desktop nav by default on mobile */
        flex-direction: column;
        width: 50%;
        background-color: #fff; /* Changed to white */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        padding-bottom: 10px;
        border-top: 1px solid #eee;
        margin-left:180px;
    }

    nav.mobile-active ul {
        display: flex; /* Show mobile nav when active */
    }

    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
        color: #000; /* Changed to black */
    }

    nav ul li a:hover::after {
        width: 0; /* Remove hover underline for mobile */
    }
    .mobile-menu-btn {
        display: block; /* Show mobile menu button */
        position: absolute;
        right: 20px;
        top: 40%;
        transform: translateY(-50%);
    }
   
    .hero-content {
        min-height: 400px;
        padding: 60px 20px;
    }
    .hero-title {
        font-size: 2.2em;
    }
    .hero-subtitle {
        font-size: 1em;
    }
    .section-title {
        font-size: 2.2em;
        margin: 30px auto 25px auto; /* Center title */
        padding: 10px 10px 8px;
        text-align: center; /* Ensure it's centered */
    }
    .partner-section {
        flex-direction: column; /* Stack image and content */
        padding: 30px 20px;
        gap: 20px;
    }
    .content-left-image .partner-image-wrapper {
        order: -1; /* Image appears first for the left-aligned section */
    }
    .content-right-image .partner-image-wrapper {
        order: -1; /* Image appears first for the right-aligned section */
    }
    .partner-content {
        text-align: center; /* Center text when stacked */
    }
    .partner-image-wrapper {
        width: 100%; /* Full width for image on smaller screens */
        max-width: 300px; /* Limit image width */
        height: 220px; /* Adjust height for smaller screens */
        margin-top: 0; /* Remove extra space between image and content */
    }
    .partner-content h3 {
        font-size: 20px;
    }
    .partner-text {
        font-size: 15px;
    }
    .footer {
        padding: 30px 20px 0; /* Apply the same footer padding as softDrinks.css */
    }
    .footer-content-main {
        grid-template-columns: 1fr; /* Stack columns on small mobiles */
        gap: 20px; /* Apply the same gap as softDrinks.css */
        padding-bottom: 10px; /* Apply the same padding as softDrinks.css */
        text-align: center; /* Center footer block content */
    }
    .footer-block h3 {
        font-size: 20px; /* Apply the same font size as softDrinks.css */
    }
    .footer-block h3::after {
        left: 50%; /* Center the pseudo-element on small screens */
        transform: translateX(-50%); /* Adjust for centering */
    }
    .footer-block p {
        font-size: 14px; /* Apply the same font size as softDrinks.css */
    }
    .social-icons {
        justify-content: center; /* Center social icons on mobile */
    }
    .footer-bottom {
        padding: 10px 0; /* Apply the same padding as softDrinks.css */
    }
    .footer-bottom .footer-links {
        flex-direction: column; /* Stack footer links vertically */
        gap: 10px; /* Apply the same gap as softDrinks.css */
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .logo img {
        height: 50px; /* Even smaller logo */
        max-width: 150px;
    }
    .mobile-menu-btn {
        font-size: 20px; /* Smaller button */
    }
    .hero-content {
        min-height: 300px;
        padding: 30px 10px;
    }
    .hero-title {
        font-size: 1.6em;
    }
    .hero-subtitle {
        font-size: 0.85em;
    }
    .section-title {
        font-size: 1.6em;
        margin: 20px auto 15px auto;
    }
    .partner-section {
        padding: 15px 10px;
    }
    .partner-image-wrapper {
        height: 150px;
    }
    .partner-content h3 {
        font-size: 16px;
    }
    .partner-text {
        font-size: 13px;
    }
    .footer-bottom .footer-links a {
        font-size: 12px; /* Apply the same font size as softDrinks.css */
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body {
        background-color: white;
        color: black;
    }

    .partner-section {
        border: 2px solid black;
    }

    .footer {
        background: black;
        color: white;
    }

    nav ul li a:hover {
        background-color: black;
        color: white;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-text {
        animation: none !important;
    }

    .partner-section {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}