/*
Theme Name: Continental Theme
Description: Custom theme for Continental Sales Corporation based on provided HTML.
Version: 1.0
Author: Your Name
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
.logo {
    width: 100%;
    max-width: 120px;
    background: #fff;
    border-radius: 100px;
    padding: 4px;
    display: flex;
    
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: #1a3a5f;
    color: white;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover, nav ul li a.active {
    color: #4dabf7;
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 58, 95, 0.8), rgba(26, 58, 95, 0.9)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background-color: #4dabf7;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #339af0;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a3a5f;
    font-size: 2rem;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-color: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #f1f3f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #1a3a5f;
    margin-bottom: 1rem;
}

/* GST Info Section */
.gst-info {
    padding: 3rem 0;
    background-color: white;
    text-align: center;
}

.gst-card {
    display: inline-block;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #1a3a5f;
}

.gst-card h3 {
    color: #1a3a5f;
    margin-bottom: 0.5rem;
}

.gst-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #495057;
}

/* Products Section */
.products {
    padding: 4rem 0;
    background-color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #1a3a5f;
    margin-bottom: 0.5rem;
}

/* Catalogue Section */
.catalogue {
    padding: 4rem 0;
    background-color: #f1f3f5;
}

.catalogue-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.catalogue-list {
    flex: 1;
    min-width: 300px;
}

.catalogue-list ul {
    list-style-type: none;
}

.catalogue-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #dee2e6;
}

.catalogue-list li:before {
    content: "•";
    color: #1a3a5f;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.catalogue-download {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #1a3a5f;
    color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
}

.contact-form button {
    background-color: #4dabf7;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #339af0;
}

/* Footer */
footer {
    background-color: #0f2a47;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #4dabf7;
}

.copyright {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Page Content */


.page-content.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Carousel */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee-animation 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-content img {
    height: 150px;
    width: auto;
    margin: 0 5px;
    vertical-align: middle;
    border-radius: 5px;
}

.marquee-content {
    padding: 40px 0;
    background: #f5f5f5;
}

.before-footer {
    background: #f5f5f5;
}

/* The keyframe animation for moving the images */
@keyframes marquee-animation {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100vw);
    }
}







/* Add to style.css for contact form */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a3a5f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

/* Image gallery styles */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.image-gallery a {
    text-decoration: none;
}

.image-gallery img {
    width: 200px;
    height: auto;
    border: 2px solid #ccc;
    transition: border-color 0.3s;
}

.image-gallery img:hover {
    border-color: #333;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 10px;
    text-align: center;
}

table img {
    max-width: 100%;
    height: auto;
}








