:root {
    --primary-navy: #1a2332;
    --secondary-navy: #2d3e50;
    --accent-yellow: #ffc107;
    --accent-orange: #ff6b35;
    --light-bg: #f8f9fa;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-navy);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-brand span {
    color: var(--accent-yellow);
}

.nav-link {
    color: white !important;
    margin: 0 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-yellow) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Banner Section */
.banner {
    /* background: linear-gradient(135deg, rgba(26,35,50,0.8), rgba(255,107,53,0.6)), 
                        url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=1600&h=600&fit=crop') center/cover; */
    /* background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=1600&h=600&fit=crop') center/cover; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    /* background-repeat: no-repeat;
    background-position: center center !important;
    background-size: cover !important; */
    /* height: 60vh; 
    min-height: 300px;
    max-height: 700px; */
    width: 100%; /* extra css */
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Optional fallback gradient if no image */
.banner-fallback {
    width: 100%;
    height: 60vh;
    background: linear-gradient(135deg, rgba(26,35,50,0.8), rgba(255,107,53,0.6));
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateX(-100%);
    }

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

/* .banner-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
} */

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    padding: 20px;
}

.banner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.banner p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn-custom {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    color: white;
}

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

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

/* Content Section */
.content-section {
    padding: 80px 0;
    background: white;
}

.content-text h2 {
    color: var(--primary-navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block; /* extra css */
}

.content-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    /* width: 80px; */
    width: 100%; /* extra css */
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow));
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.content-text img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* (Optional) Remove stray padding/margins from pasted images */
.content-text p img {
  margin: 0 auto;
  display: block;
}

.profile-img {
    /* border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); */
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    padding-top: 20px;
}

/* Social Cards */
.social-section {
    padding: 80px 0;
    /* background: var(--light-bg); */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 50px;
    position: relative;
    display: inline-block; /* extra css */
}

.section-title-wrapper {
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow));
}

.social-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 2px solid transparent;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-orange);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-card h4 {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 15px;
}

.social-card a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

/* Blog Grid */
.blog-section {
    padding: 80px 0;
    background: white;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-yellow);
}

/* Blog Post Detail */
.post-slider {
    margin-bottom: 50px;
}

.slider-img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 15px;
    background: #000;
}

.post-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-content h1 {
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 30px;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    padding: 50px;
    border-radius: 15px;
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-right: 15px;
    width: 40px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-5px);
}

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

/* Responsive */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 2.5rem;
    }

    .banner p {
        font-size: 1rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .contact-form,
    .contact-info {
        padding: 30px;
    }

    .slider-img {
        height: 300px;
        object-fit: contain;
    }

    .blog-img {
        height: 200px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 0.9rem;
    }

    .slider-img {
        height: 250px;
    }
}

/* Carousel indicators */
.carousel-indicators button {
    background-color: var(--accent-orange);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--accent-orange);
    border-radius: 50%;
    padding: 20px;
}


/* Footer css */
footer{
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    /* color: #fff; */
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

/* Footer Titles */
.fw-semibold, .fw-bold {
    color: var(--accent-yellow);
}

/* Mobile: 2 columns for small devices */
@media (max-width: 768px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Extra small devices: 1 column */
@media (max-width: 400px) {
    .col-6, .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .social-icon {
        margin: 0 5px;
    }
    .col-12 > .d-flex {
        justify-content: center !important;
    }
}

/* 
===========================
Contact Form Adjustments
=========================== 
*/
/* Floating Label Styles */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 5px;
}

textarea.form-control {
    padding-top: 25px;
    resize: vertical;
    min-height: 140px;
}

textarea + .form-label {
    top: 25px;
    transform: translateY(0);
}

/* Float the label when input has value, is focused, or has error */
.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label,
.form-control.has-error + .form-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--primary-navy);
    font-weight: 600;
}

/* For textarea */
textarea.form-control:focus + .form-label,
textarea.form-control:not(:placeholder-shown) + .form-label,
textarea.form-control.has-error + .form-label {
    top: 0;
}

/* Change label color to red when there's an error */
.form-control.has-error + .form-label {
    color: #d32f2f;
}

/* Error message */
.error-message {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-control.error {
    border-color: #d32f2f;
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    animation: slideDown 0.3s ease;
}

.alert.show {
    display: block;
}

.alert-success {
    background: #e8f5e9;
    color: #388e3c;
    border-left: 4px solid #388e3c;
}

.alert-error {
    background: #ffebee;
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
}

.btn-custom:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}



