/* Base Styles */
:root {
    --brand-blue: #2850E2;
    --brand-red: #F93943;
    --brand-orange: #F48815;
    --brand-dark: #1C1D21;
    --brand-white: #FDFFFC;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--brand-dark);
    background-color: var(--brand-white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header Styles */
header {
    background-color: var(--brand-blue);
    box-shadow: 0 2px 10px rgba(40, 80, 226, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-red);
}

.logo span {
    color: var(--brand-white);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 0;
    position: relative;
    color: var(--brand-white);
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-orange);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--brand-orange);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section Styles */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--brand-blue) 60%, var(--brand-orange) 100%);
    color: var(--brand-white);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 1s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background-color: rgba(28, 29, 33, 0.7);
    color: var(--brand-white);
    text-align: center;
}

.carousel-caption h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--brand-red);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--brand-red);
    color: var(--brand-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--brand-orange);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--brand-white);
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.dot.active {
    opacity: 1;
    background-color: var(--brand-red);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--brand-white);
}

.about h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--brand-blue);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(40, 80, 226, 0.1);
}

/* Services Overview Section */
.iservices-overview {
    padding: 60px 0;
    background: var(--brand-blue);
    font-family: 'Montserrat', sans-serif;
}

.iservices-overview h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--brand-white);
    margin-bottom: 40px;
    font-weight: 700;
}

.iservices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.iservice-card {
    background: var(--brand-white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.iservice-icon {
    font-size: 2.5rem;
    color:var(--brand-orange);
    margin-bottom: 15px;
    transition: color 0.3s ease-in-out;
}

.iservice-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 10px;
}

.iservice-card p {
    font-size: 0.95rem;
    color: var(--brand-dark);
    line-height: 1.5;
}

/* Hover Effect */
.iservice-card:hover {
    background: var(--brand-red);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.iservice-card:hover h3,
.iservice-card:hover p {
    color: #fff;
}
.iservice-card:hover .iservice-icon{
    color: var(--brand-blue);
}



/* Responsive Design */
@media (max-width: 1024px) {
    .iservices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .iservices-grid {
        grid-template-columns: 1fr;
    }
}


.services-cta {
    text-align: center;
    margin-top: 30px;
}

/* CTA Section */
.cta {
    background-color: var(--brand-orange);
    color: var(--brand-dark);
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--brand-dark);
    color: var(--brand-white);
    padding: 60px 0 20px;
}

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

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--brand-red);
}

.footer-logo span {
    color: var(--brand-blue);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--brand-red);
}

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

.footer-links ul li a {
    transition: var(--transition);
    color: var(--brand-white);
}

.footer-links ul li a:hover {
    color: var(--brand-orange);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(253, 255, 252, 0.1);
    transition: var(--transition);
    color: var(--brand-white);
}

.social-icons a:hover {
    background-color: var(--brand-orange);
    color: var(--brand-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(253, 255, 252, 0.1);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--brand-red);
    color: var(--brand-white);
    border-radius: 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--brand-orange);
    color: var(--brand-dark);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--brand-white);
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
}

.btn-white:hover {
    background-color: var(--brand-blue);
    color: var(--brand-white);
}

/* Catalog Page Styles */
.catalog {
    padding: 80px 0;
    background: var(--brand-white);
}

.catalog h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--brand-blue);
}

.catalog-filters {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--brand-white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--brand-red);
    color: var(--brand-white);
    border-color: var(--brand-red);
}

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

.product-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(40, 80, 226, 0.1);
    transition: var(--transition);
    background: var(--brand-white);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(244, 136, 21, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
}

.product-details h3 {
    margin-bottom: 10px;
    color: var(--brand-blue);
}

.product-details p {
    margin-bottom: 15px;
    color: var(--brand-dark);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-weight: 700;
    color: var(--brand-red);
}

.product-cta {
    text-align: center;
    margin-top: 20px;
}

/* Contact Page Styles */
.contact {
    padding: 80px 0;
    background: var(--brand-white);
}

.contact h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--brand-blue);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    padding: 30px;
    border-radius: 1rem;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--brand-orange);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 20px;
    color: var(--brand-red);
}

.contact-map {
    height: 300px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 30px;
}

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

/* Form Styles */
.contact-form {
    padding: 30px;
    background-color: var(--brand-white);
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(40, 80, 226, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: right;
}

/* Enquiry Page Styles */
.enquiry {
    padding: 80px 0;
    background-color: var(--brand-white);
}

.enquiry h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--brand-blue);
}

.enquiry-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.enquiry-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--brand-white);
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(40, 80, 226, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color:var(--brand-white);
    border-radius: 10px;
    box-shadow:  0 5px 15px var(--brand-dark , 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--brand-blue, 0.2);
    background-color: var(--brand-blue);
    color: var(--brand-white);
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: var(--brand-red);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center; /* Centered headings */
}

.card-content p {
    /* color:  var(--brand-dark); */
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}


.service-features-card {
    margin-bottom: 20px;
    padding-left: 0;
}

.service-features-card li {
    list-style: none;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.service-features-card i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 14px;
}

.card-content .btn {
    align-self: center; /* Center in card */
    padding: 10px 25px;
    background-color: var(--brand-orange); /* Blue */
    color: var(--brand-white);
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.card-content .btn:hover {
    background-color: var(--brand-orange); /* Darker blue on hover */
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 20px 20px;
    background-color: #f4f4f4;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--brand-blue);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(40, 80, 226, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .about, .services-overview, .catalog, .contact, .enquiry {
        padding: 40px 0;
    }
    
    .about h2, .services-overview h2, .catalog h2, .contact h2, .enquiry h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 15px;
    }
    
    .carousel-caption h2 {
        font-size: 20px;
    }
}

.error {
    border: 1px solid var(--brand-red) !important;
}

.error-message {
    color: var(--brand-red);
    font-size: 0.85em;
    margin-top: 4px;
}

.success-message {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background-color: var(--brand-white);
    border-radius: 8px;
}

.success-message i {
    color: #28a745;
    font-size: 3rem;
    margin-bottom: 1rem;
}