* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #38BDF8;   /* SKY BLUE */
    --secondary-color: #DC2626; /* RED */
    --light-color: #BAE6FD;     /* LIGHT SKY BLUE */
    --text-color: #1f2937;
    --light-text: #6b7280;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --error-color: #ef4444;
    --success-color: #16a34a;
    --light-gray: #f3f4f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO STYLE */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: white;
    font-size: 1.6rem;
}

/* LOGO IMAGE */
.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 4px;

    /* professional polish */
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* optional hover effect */
.logo:hover img {
    transform: scale(1.05);
    transition: 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.slide {
    display: none;
    width: 100%;
    animation: fade 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.slide.active {
    display: block;
}

.fade {
    animation: fade 1s;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Mission & Vision Section */
.mission-vision {
    padding: 4rem 0;
    background-color: var(--white);
}

.mission-vision.alternate {
    background-color: var(--light-gray);
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.content-wrapper.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    min-width: 300px;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.image-content {
    flex: 1;
    min-width: 300px;
}

.image-content img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-color), #DBEAFE);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-align: center;
}

.about p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0 auto;        /* centers block */
    max-width: 700px;      /* keeps it neat instead of full width */
    text-align: center;    /* overrides justify */
}

/* Portfolio Section */
.portfolio {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.portfolio-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Portfolio Cards */
.portfolio-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

/* PORTFOLIO HOVER OVERLAY (UPDATED THEME) */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(56, 189, 248, 0.85),
        rgba(220, 38, 38, 0.85)
    );
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    color: var(--white);
    text-decoration: none;
    background-color: var(--secondary-color);
    padding: 0.85rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.portfolio-link:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.portfolio-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.portfolio-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.portfolio-content p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.15);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--light-text);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(255, 165, 0, 0.2);
    background-color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

.char-count {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: 0.3rem;
}

.form-error {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-error.show {
    display: block;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label {
    cursor: pointer;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    font-size: 0.8rem;
    color: var(--light-text);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: none;
}

.form-success.show {
    display: block;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #9f1c1c;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-column h3 {
    margin-bottom: 15px;
    color:#9f1c1c;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #de1c1c;
    padding-left: 5px;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .content-wrapper,
    .content-wrapper.reverse {
        flex-direction: column;
    }

    .text-content h2 {
        font-size: 2rem;
    }

    .about h2,
    .contact-header h2,
    .portfolio-header h2 {
        font-size: 2rem;
    }

    .slide img {
        max-height: 300px;
    }

    .footer-links {
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        gap: 1rem;
    }

    .form-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }

    .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .text-content h2,
    .about h2,
    .contact-header h2,
    .portfolio-header h2 {
        font-size: 1.5rem;
    }

    .text-content p,
    .about p {
        font-size: 0.9rem;
    }

    .submit-btn,
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .portfolio-filters {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .dots-container {
        bottom: 10px;
        gap: 6px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}
.form-success {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-weight: bold;
}

.form-success.show {
    display: block;
}