/* ===== RESET & VARIABLES ===== */
:root {
    --primary-color: #1e3c4f;
    --secondary-color: #2b5f8a;
    --accent-color: #ff9f1c;
    --text-dark: #2c3e50;
    --text-light: #6c7a89;
    --bg-light: #f8fafd;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
    position: relative;
}

.underline::before,
.underline::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.underline::before {
    left: -20px;
}

.underline::after {
    right: -20px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #f5f9ff 0%, #e9f0f7 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(43,95,138,0.05) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.hero-content {
    max-width: 600px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(43,95,138,0.3);
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(43,95,138,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

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

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.about-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features .feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(43,95,138,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

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

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

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

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

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

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

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

.material {
    background: rgba(43,95,138,0.1);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-inquiry {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-inquiry:hover {
    color: var(--accent-color);
}

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(43,95,138,0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background: #f9f9f9;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    min-width: 30px;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.5;
}

.contact-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(43,95,138,0.1);
}

.btn-submit {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand .logo i {
    color: var(--accent-color);
}

.footer-brand p {
    color: #b0c4d9;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #b0c4d9;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-newsletter p {
    color: #b0c4d9;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: #b0c4d9;
}

.newsletter-form button {
    background: var(--accent-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

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

/* ===== LIVE CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(43,95,138,0.3);
    position: relative;
    transition: all 0.3s;
}

.chat-button:hover {
    transform: scale(1.1);
    background: var(--primary-color);
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    display: none;
    animation: slideUp 0.3s ease;
}

.chat-box.active {
    display: block;
}

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

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-info i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.chat-header-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.chat-header-info p {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #b0c4d9;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.chat-header button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.chat-header button:hover {
    transform: scale(1.1);
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #f8fafd;
}

.message {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s;
}

.message.bot {
    align-items: flex-start;
}

.message.user {
    flex-direction: row-reverse;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e1e8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.bubble {
    background: var(--white);
    padding: 8px 15px;
    border-radius: 18px;
    max-width: 80%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.user .bubble {
    background: var(--secondary-color);
    color: var(--white);
}

.chat-options {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: var(--white);
    border-top: 1px solid #e1e8ed;
    flex-wrap: wrap;
}

.chat-option {
    background: #f8fafd;
    border: 1px solid #e1e8ed;
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.chat-option:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.chat-input {
    display: flex;
    padding: 10px;
    gap: 10px;
    border-top: 1px solid #e1e8ed;
    background: var(--white);
}

.chat-input input {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #e1e8ed;
    border-radius: 30px;
    font-size: 0.9rem;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.chat-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-input button:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.typing-indicator .bubble i {
    margin-right: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .chat-box {
        width: 300px;
    }
}/* ===== WHY CHOOSE US ===== */
.why-us {
    background: #fefdfb;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.why-card {
    background: var(--white);
    border-radius: 18px;
    text-align: center;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.why-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.why-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== QUOTE ESTIMATOR ===== */
.quote-estimator {
    background: linear-gradient(135deg, #f3f7fb 0%, #fcf8f5 100%);
}
.quote-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.quote-form {
    background: var(--white);
    padding: 30px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.quote-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--primary-color);
}
.quote-form .form-group {
    margin-bottom: 15px;
}
.quote-form input,
.quote-form select {
    width: 100%;
    padding: 10px 12px;
    border:1px solid #e1e8ed;
    border-radius:8px;
    font-size: 0.95rem;
}
.quote-result {
    background: rgba(30,60,79,0.05);
    border: 1px dashed rgba(43,95,138,0.28);
    border-radius: 18px;
    padding: 30px;
    min-height: 180px;
}
.quote-result h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.quote-result p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--white);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.testimonial-card {
    border: 1px solid rgba(43,95,138,0.16);
    border-radius: 18px;
    padding: 25px;
    box-shadow: var(--shadow);
    background: #fff;
}
.testimonial-card p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.7;
}
.testimonial-card h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1rem;
}
.rating i {
    color: #ffb400;
    margin-right: 2px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
    .quote-content {
        grid-template-columns: 1fr;
    }
    .services-grid,
    .products-grid,
    .testimonials-grid,
    .why-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}
