/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0b1c3c;
    /* Deep Professional Blue */
    --secondary-color: #582fbfc9;
    /* Modern Teal/Green for Clean Energy */
    --accent-color: #fbbf24;
    /* Electric Gold/Amber */
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #e6e9ec;
    --bg-off-white: #e6e9ec;
    --bg-dark: #0f172a;
    --nav-height: 80px;
    --transition-speed: 0.3s;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

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

.logo-container img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
}

.nav-item:hover {
    color: var(--secondary-color);
}

.nav-item a {
    padding: 10px 0;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1100;
    border-top: 4px solid var(--secondary-color);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-weight: 500;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-off-white);
    color: var(--secondary-color);
    padding-left: 25px;
    /* Slight slide effect */
}

/* Contact Button in Nav */
.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 186, 163, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.hamburger.active i::before {
    content: "\f00d";
    /* FontAwesome Times Icon */
}

.mobile-menu-close {
    display: none;
}

/* Hero Section */
.hero {
    height: calc(100vh - var(--nav-height));
    min-height: 600px;
    background: linear-gradient(rgba(11, 28, 60, 0.7), rgba(11, 28, 60, 0.6)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 186, 163, 0.4);
    transition: all 0.3s;
}

.btn-primary:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 100px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    align-items: center;
    background: white;
}

.about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    transition: transform 0.5s;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 20px;
}

/* Contact Page Styles */
.about-img form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
}

.about-img form input,
.about-img form select,
.about-img form textarea {
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.about-img form input:focus,
.about-img form select:focus,
.about-img form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(88, 47, 191, 0.1);
}

.map-section {
    width: 100%;
    height: 400px;
    padding: 0;
    overflow: hidden;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Products Section */
.products {
    padding: 100px 5%;
    background: var(--bg-off-white);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    display: inline-block;
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Why Choose Us */
.features {
    padding: 100px 5%;
    background: var(--primary-color);
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Testimonials - Horizontal Scroll */
.reviews {
    padding: 80px 0;
    overflow: hidden;
    background: white;
}

.reviews-container {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 30s linear infinite;
    padding-left: 5%;
}

.review-card {
    min-width: 350px;
    background: var(--bg-off-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.stars {
    color: var(--accent-color);
}

.review-text {
    font-style: italic;
    color: #64748b;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Ensure distinct duplication for infinite effect if needed */
}

/* Footer */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 80px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--secondary-color);
    color: white;
    transform: rotate(360deg);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 5%;
    background: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    font-weight: 700;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.testimonial-item {
    position: absolute;
    width: 100%;
    max-width: 720px;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.testimonial-item.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-item.slide-out {
    opacity: 0;
    transform: translateX(100%);
}

.testimonial-card {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-color);
    font-size: 1rem;
    display: block;
}

/* Product Detail Page Styles */
.product-detail-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 28, 60, 0.7), rgba(11, 28, 60, 0.6));
}

.product-detail-hero .hero-content {
    position: relative;
    z-index: 1;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 80px 5%;
}

.spec-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.spec-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.spec-img {
    height: 250px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spec-img img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    transition: transform 0.5s;
}

.spec-card:hover .spec-img img {
    transform: scale(1.1);
}

.spec-content {
    padding: 30px;
}

.spec-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.spec-list {
    margin: 20px 0;
    font-size: 0.95rem;
    color: #64748b;
}

.spec-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-list li i {
    color: var(--secondary-color);
}

.btn-enquire {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    text-align: center;
}

.btn-enquire:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        gap: 10px;
    }

    .logo-container {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .logo-container img {
        height: 48px;
        width: auto;
        flex-shrink: 0;
    }

    .logo-container span {
        white-space: nowrap;
        overflow: hidden;
        font-size: clamp(0.950rem, 3.2vw, 1.2rem) !important;
        margin-left: 0 !important;
        flex-shrink: 1;
        min-width: 0;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        height: calc(100vh - var(--nav-height));
        background: white;
        flex-direction: column;
        width: 80%;
        text-align: left;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding-top: 50px;
        padding-left: 30px;
        align-items: flex-start;
        gap: 10px;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-close {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        z-index: 1001;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }

    .mobile-menu-close:hover {
        color: var(--secondary-color);
    }

    .nav-item {
        position: relative;
        font-size: 1.2rem;
        width: 100%;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .nav-item > a {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }

    .dropdown-menu {
        position: relative;
        left: 45%;
        transform: translateX(-54%);
        box-shadow: none;
        border: none;
        background: var(--bg-off-white);
        display: none;
        width: fit-content;
        min-width: 200px;
        max-width: calc(100% - 60px);
        padding: 0;
        opacity: 1;
        visibility: visible;
        margin-top: 5px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        top: 0;
        text-align: left;
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 15px 15px 15px 25px;
        text-align: left;
        display: block;
        width: 100%;
    }
    
    .btn-nav {
        justify-content: center !important;
        text-align: center !important;
        width: auto;
        margin: 0 auto 0 -8px;
        padding: 1px 30px !important;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        flex-shrink: 0;
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .about {
        grid-template-columns: 1fr;
        padding: 60px 4%;
        gap: 40px;
    }

    .about-text {
        padding: 30px !important;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-img {
        padding: 0 !important;
    }

    .about-img form {
        max-width: 100%;
        padding: 25px 20px;
    }

    .about-img form input,
    .about-img form select,
    .about-img form textarea {
        padding: 14px;
        font-size: 0.95rem;
    }

    .map-section {
        height: 350px;
    }

    .map-section iframe {
        height: 350px;
    }

    .testimonials-section {
        padding: 60px 4%;
    }

    .testimonials-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .testimonial-card {
        padding: 30px 20px;
        max-width: 100%;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 40px 3%;
        gap: 30px;
    }

    .about-text {
        padding: 25px !important;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 20px !important;
    }

    .about-text div {
        font-size: 0.9rem;
        margin-bottom: 18px !important;
    }

    .about-text i {
        font-size: 1.1rem !important;
    }

    .about-img form {
        padding: 20px 15px;
        gap: 15px;
    }

    .about-img form input,
    .about-img form select,
    .about-img form textarea {
        padding: 12px;
        font-size: 0.9rem;
    }

    .about-img form textarea {
        min-height: 100px;
    }

    .map-section {
        height: 300px;
    }

    .map-section iframe {
        height: 300px;
    }
}

@media (max-width: 360px) {
    .about {
        padding: 30px 2%;
        gap: 25px;
    }

    .about-text {
        padding: 20px !important;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 18px !important;
    }

    .about-text div {
        font-size: 0.85rem;
        margin-bottom: 15px !important;
        gap: 12px !important;
    }

    .about-text i {
        font-size: 1rem !important;
    }

    .about-img form {
        padding: 18px 12px;
        gap: 12px;
    }

    .about-img form input,
    .about-img form select,
    .about-img form textarea {
        padding: 10px;
        font-size: 0.85rem;
    }

    .map-section {
        height: 250px;
    }

    .map-section iframe {
        height: 250px;
    }

    .testimonials-section {
        padding: 50px 3%;
    }

    .testimonials-heading {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }

    .testimonial-card {
        padding: 25px 15px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }
}

/* Team Section Styles */
.team-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.team-section .section-title {
    margin-bottom: 30px !important;
}

.team-section > div {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

.team-section img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-section img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.team-member:hover img {
    transform: scale(1.05);
}

/* Customer Section Styles */
.customer-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, scale 0.3s ease;
    will-change: transform, opacity;
}

.customer-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.customers-grid .customer-card:nth-child(1).animate { transition-delay: 0.1s; }
.customers-grid .customer-card:nth-child(2).animate { transition-delay: 0.2s; }
.customers-grid .customer-card:nth-child(3).animate { transition-delay: 0.3s; }
.customers-grid .customer-card:nth-child(4).animate { transition-delay: 0.4s; }
.customers-grid .customer-card:nth-child(5).animate { transition-delay: 0.5s; }
.customers-grid .customer-card:nth-child(6).animate { transition-delay: 0.6s; }

.customer-card.animate:hover,
.customer-card.animate:active,
.customer-card.animate:focus-visible {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--secondary-color);
}

@media (prefers-reduced-motion: reduce) {
    .customer-card {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
    
    .customer-card.animate:hover,
    .customer-card.animate:active,
    .customer-card.animate:focus-visible {
        transform: none;
    }
}

/* View Details Button Styles */
.btn-view-details {
    width: 100%;
    padding: 12px 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    font-family: 'Outfit', sans-serif;
}

.btn-view-details:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-view-details i {
    font-size: 0.9rem;
}

/* Product Details Modal Styles */
.product-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.product-details-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-details-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
    margin: auto;
}

.product-details-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s;
    z-index: 10001;
    box-shadow: var(--shadow-sm);
}

.product-details-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.product-details-modal-body {
    padding: 40px;
}

.product-details-image-section {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 400px;
}

.product-details-image-section img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
}

.product-details-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.product-details-section {
    margin-bottom: 30px;
}

.product-details-section-heading {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.product-details-section-heading i {
    color: var(--secondary-color);
}

.product-details-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    text-align: justify;
}

.keywords-section {
    margin-bottom: 30px;
}

.keywords-container {
    margin-top: 15px;
}

.keywords-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.keywords-list li {
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.keywords-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.product-details-cta {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid var(--bg-off-white);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .product-details-modal-content {
        max-width: 95%;
        max-height: 95vh;
        border-radius: 15px;
    }

    .product-details-modal-body {
        padding: 25px 20px;
    }

    .product-details-title {
        font-size: 1.6rem;
    }

    .product-details-image-section {
        min-height: 200px;
        max-height: 250px;
    }

    .product-details-description {
        font-size: 1rem;
    }

    .keywords-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .keywords-list li {
        font-size: 0.95rem;
        padding-left: 20px;
    }

    .keywords-list li::before {
        font-size: 1.3rem;
    }

    .product-details-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}