/* =========================
   Global Reset & Base
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #fff;
    color: #2c3e50;
    min-height: 100vh;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s;
}
ul {
    list-style: none;
}

/* =========================
   Header
========================= */
header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo-img {
    height: 40px;
    object-fit: contain;
}
header .logo {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-right: auto;
}

/* Nav */
header nav {
    display: flex;
    position: relative;
    z-index: 1000;
}
header nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}
header nav a {
    font-size: 15px;
    font-weight: 500;
    padding: 6px 10px;
    white-space: nowrap;
}
header nav a:hover {
    color: #1a252f;
}

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: #2c3e50;
}

/* Dropdown */
    .dropdown {
        width: 100%;
        text-align: right; /* aligns the dropdown parent link */
        margin-top: -5px;

    }

    .dropdown > a {
        display: inline-block; 
        width: auto;       /* keep the link width natural */
        text-align: right; /* aligns the text to the right */
        padding-right: 0; /* optional: add some right padding */
    }
    
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;          /* reset left */
    right: 0;            /* align right edge to parent right edge */
    min-width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 8px 0;
    z-index: 1000;
}
.dropdown-menu li {
    list-style: none;
}
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
    transition: background 0.2s;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Responsive: make dropdown clickable on mobile */
@media (max-width: 992px) {
    
    /* Header */
    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1100;
    }
    header nav {
    display: none;
    width: 100%;
 
    background: #fff;
    position: absolute;
    top: 65px;
    left: 0;
    border-top: 1px solid #ddd;
    padding: 15px 0;
    flex-direction: column;
    align-items: flex-end; /* ✅ add this */
    padding-right: 20px;   /* ✅ small spacing from edge */
    }
    header nav.active {
        display: flex;
    }
    header nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-end; /* ✅ align links to right */
    }
    header nav a {
            font-size: 15px;
    font-weight: 500;
        padding: 8px 0;
    }
    
    .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        text-align: right;     /* ✅ align text to the right */
        width: 100%;           /* ✅ full width inside nav */
        display: none; /* default */
    }
    .dropdown-menu li {
        width: 100%;           /* ✅ ensure each li takes full width */
    }
    .dropdown-menu a {
        display: block;
        padding: 8px 0;
        text-align: right;     /* ✅ align the link text right */
   
    }
    
 
    

.dropdown-menu.open {
    display: block; /* show when toggled */
}

}




/* =========================
   Hero Section
========================= */
.hero {
    text-align: center;
    padding: 60px 20px 40px;
    min-height: 500px;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('/uploads/heropic.jpeg') center/cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero h1 {
    font-size: 28px;
    margin-bottom: 15px;
}
.hero p {
    font-size: 16px;
    margin-bottom: 25px;
}
.hero-buttons .btn {
    display: inline-block;
    padding: 10px 18px;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    margin-top: auto;
    width: 15%;

}

.hero-buttons .btntwo {
    display: inline-block;
    padding: 10px 18px;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin-top: auto;
    width: 15%;

}

.hero-buttons .btntwo:hover {
    background: #fff;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}


/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
.hero-buttons .btntwo {
    display: none;

}

.hero-buttons .btn {
    display: block;
    width: 100%;              /* button width */
    padding: 12px 0;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin: 15px auto 0 auto; /* center horizontally */

}
}


/* =========================
   Skills Section
========================= */
.skills-section {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
}
.skills-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: left;   /* align heading to the left */
    max-width: 1200px;  /* match grid width */
    margin: 0 auto 25px auto; /* keep it aligned with grid */
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}
.skill-card {
    background: #fff;
    padding: 18px 12px;
    border-radius: 12px;
    font-weight: 500;
    color: #2c3e50;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1px solid #eee;
}
.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Responsive: 2 columns on tablet */
@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: left;
}
}

/* =========================
   Banner Section
========================= */
.banner-section {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #fff; /* fallback color */
    padding: 20px 20px;
}

.banner-container {
    max-width: 1200px;   /* constrain both image and content */
    width: 100%;
    height: 500px;
    text-align: center;
    position: relative;
    background: url('/uploads/safreelancers_banner.png') center/cover no-repeat; /* image constrained */
    border-radius: 18px; /* optional, if you want rounded edges */
    padding: 80px 20px;
    color: #fff;
}

.banner-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: left;   /* align heading to the left */
    max-width: 1200px;  /* match grid width */
    margin: 0 auto 25px auto; /* keep it aligned with grid */
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.banner-content .btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
}

/* =========================
   Mobile Banner
========================= */
@media (max-width: 992px) {
    .banner-container {
        padding: 60px 15px;
        height: 320px;
    }
    .banner-content h2 {
        font-size: 30px;
    }
    .banner-content p {
        font-size: 16px;
    }
    .banner-content .btn {
        padding: 10px 25px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .banner-container {
        padding: 50px 10px;
        background: url('/uploads/mobile_banner.png') center/cover no-repeat; /* mobile image if needed */
        height: 550px;
    }
    
    .banner-section {
    padding: 20px 20px;
}
    
    .banner-content h2 {
        font-size: 24px;
    }
    .banner-content p {
        font-size: 14px;
    }
    .banner-content .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}



/* =========================
   How It Works Section
========================= */
.how-it-works {
    padding: 20px 20px;
    text-align: center;
    background: #fff;
}
.how-it-works h2 {
    font-size: 28px;
    margin-bottom: 25px
    text-align: left;
    text-align: left;   /* align heading to the left */
    max-width: 1200px;  /* match grid width */
    margin: 0 auto 25px auto; /* keep it aligned with grid */
}
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}
.step {
    background: #fff;
    padding: 13px 16px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.step-img {
    width: 100%;        /* make it responsive */
    max-width: 350px;   /* keep your original size as the limit */
    height: 230px;       /* keep aspect ratio */
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 15px; /* center image */
    display: block;
}
.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .steps {
        padding: 0 15px; 
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 20px 20px; 
    }
    .steps {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
    }
    .step {
        padding: 12px;
    }
    .step-img {
        max-height: 240px;
    }
    .step h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .steps {
        grid-template-columns: 1fr; /* 1 column on small phones */
        padding: 0;            /* reduce side padding */
        gap: 15px;
    }
    .step-img {
        max-height: 240px;
    }
    .step h3 {
        font-size: 16px;
    }
    
    .how-it-works h2 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: left;
    text-align: left;   /* align heading to the left */
    max-width: 1200px;  /* match grid width */
    margin: 0 auto 25px auto; /* keep it aligned with grid */
}

    .how-it-works {
        padding: 20px 20px; 
    }
}


/* =========================
   Tips Section
========================= */
.tips-section {
    padding: 20px 20px 10px 20px;
    text-align: left;
    background: #fff;
}

.tips-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: left;   /* align heading to the left */
    max-width: 1200px;  /* match grid width */
    margin: 0 auto 25px auto; /* keep it aligned with grid */
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.tip-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}


.tip-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.tip-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    padding: 15px;
    transition: color 0.3s;
    text-decoration: underline;
    text-underline-offset: 6px;
}


/* Responsive */
@media (max-width: 992px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: left;   /* align heading to the left */
    max-width: 1200px;  /* match grid width */
    margin: 0 auto 25px auto; /* keep it aligned with grid */
}
}




/* =========================
   Featured Freelancers
========================= */
.featured {
    padding: 20px 20px 45px 20px;
    text-align: center;
}
.featured h2 {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: left;   /* align heading to the left */
    max-width: 1200px;  /* match grid width */
    margin: 0 auto 25px auto; /* keep it aligned with grid */
}
.profiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}


.profile-card {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
    min-height: 350px;

    display: flex;              /* make flex container */
    flex-direction: column;     /* stack items vertically */
    justify-content: center;    /* center vertically */
    align-items: center;        /* center horizontally */
}



.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.profile-card img.profile-pic {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 1px solid #2c3e50;
}
.profile-card .title {
    font-weight: 500;
    color: #555;
    margin: 8px 0;
}
.profile-card .location {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.featured .btn{
    background: #f1f1f1;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}

.featured .btn:hover{
    background: #2c3e50;
    border: 1px solid #2c3e50;
    color: #fff;
}


/*Ratings*/
.profile-rating-summary {
    margin: 15px 0 15px 0;
    font-size: 14px;
    display: flex;
    flex-direction: column; /* stack stars and text */
    align-items: center;    /* center everything horizontally */
}

/* Wrap stars in a horizontal row */
.profile-rating-summary .stars {
    display: flex;
    flex-direction: row; /* horizontal */
    justify-content: center; /* center the stars */
}

.profile-rating-summary .stars i {
    color: gold;
    margin-right: 2px;
    font-size: 12px;
}

/* Total ratings text below stars */
.profile-rating-summary p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #555;
}

/* No ratings yet */
.profile-rating-summary p,
.profile-rating-summary h3 {
    font-weight: normal;
    color: #777;
}


.btn_secondary {
    display: block;
    width: 10%;              /* button width */
    padding: 12px 0;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin: 45px auto 0 auto; /* center horizontally */
}

.btn_secondary:hover {
    background: #fff;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}



/* Responsive */
@media (max-width: 992px) {
.btn_secondary{
    display: block;          /* make full-width block button */
    width: 100%;             /* stretch across parent */
    padding: 12px 0;         /* vertical padding only */
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin-top: 15px;        /* space above */
}
}

@media (max-width: 768px) {
.btn_secondary{
    display: block;          /* make full-width block button */
    width: 100%;             /* stretch across parent */
    padding: 12px 0;         /* vertical padding only */
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin-top: 15px;        /* space above */
}

.featured h2 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: left;   /* align heading to the left */
    max-width: 1200px;  /* match grid width */
    margin: 0 auto 25px auto; /* keep it aligned with grid */
}
}



/* =========================
   CTA Banner
========================= */
.cta-banner {
    background: #2c3e50;
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}
.cta-banner h2 {
    font-size: 30px;
    margin-bottom: 20px;
}
.cta-buttons .btn {
    display: block;
    width: 10%;              /* button width */
    padding: 12px 0;
    background: #fff;
    color: #2c3e50;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin: 15px auto 0 auto; /* center horizontally */
}


.cta-buttons .btn:hover {
    display: block;
    width: 10%;              /* button width */
    padding: 12px 0;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    border-color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin: 15px auto 0 auto; /* center horizontally */
}

/* Responsive */
@media (max-width: 992px) {
.cta-buttons .btn {
    display: block;
    width: 100%;              /* button width */
    padding: 12px 0;
    background: #fff;
    color: #2c3e50;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin: 15px auto 0 auto; /* center horizontally */
}
}

@media (max-width: 768px) {
.cta-buttons .btn {
    display: block;
    width: 100%;              /* button width */
    padding: 12px 0;
    background: #fff;
    color: #2c3e50;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin: 15px auto 0 auto; /* center horizontally */
}
}
/* =========================
   Buttons
========================= */
.btn {
    display: block;          /* make full-width block button */
    width: 100%;             /* stretch across parent */
    padding: 12px 0;         /* vertical padding only */
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin-top: 15px;        /* space above */
}

.btn:hover {
    background: #fff;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}

/* =========================
   Footer
========================= */
footer {
    background: #fff;
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #555;
}
.footer-logo-img {
    margin-top: 15px;
    height: 20px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
    .profiles {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .profiles, .steps {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .step h3 { font-size: 18px; }
}




/* =========================
   About PAGE
========================= */
.about-section {
    padding: 60px 20px;
    background: #fff;
    text-align: left;
}

.about-container {
    max-width: 1000px;
    margin: auto;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.about-subheading {
    font-size: 18px;
    color: #777;
    margin-bottom: 40px;
}

.about-profile {
    display: flex;
    align-items: center;       /* vertically center image and text */
    justify-content: flex-start; /* align items to the left */
    margin-bottom: 25px;
    gap: 20px;
    flex-wrap: wrap;
}

.about-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #2c3e50;
    flex-shrink: 0; /* Prevents shrinking */
}


.about-info h3 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
}

.about-title {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
    text-align: left;
}

.about-signature {
    text-align: left;
    font-size: 16px;
    color: #2c3e50;
}

.about-signature p {
    margin: 0;
}

/* LinkedIn Icon */
.about-signature .linkedin-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 28px;
    color: #000;
    transition: color 0.3s ease;
}

.about-signature .linkedin-link:hover {
    color: #004182; /* Darker LinkedIn blue on hover */
}


/* Button below */

.about-buttons .btn {
    display: inline-block;
    padding: 10px 18px;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    margin-top: 30px; /* small gap above */
    width: 150px;     /* fixed width similar to hero buttons */
    margin-right: 10px;
}

.about-buttons .btntwo {
    display: inline-block;
    padding: 10px 18px;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin-top: 10px;
    width: 150px;
}

.about-buttons .btntwo:hover {
    background: #fff;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}

.about-buttons .btn:hover {
    background: #fff;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}





/* Responsive */
@media (max-width: 768px) {
    .about-profile {
        flex-direction: column; /* stack image above text */
        align-items: flex-start; /* align to left */
        text-align: left;
        gap: 10px;
    }

    .about-img {
        width: 100px;  /* smaller on mobile */
        height: 100px;
        margin-bottom: 10px;
    }

    .about-info {
        text-align: left;
    }

    .about-signature {
        text-align: left;
        margin-top: 15px;
    }
}



/* =========================
   LEGAL PAGES
========================= */
.legal-section {
    padding: 60px 20px;
    background: #fff;
    text-align: left;
}

.legal-container {
    max-width: 1000px;
    margin: auto;
}

.legal-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
}




.legal-info h3 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
}

.legal-title {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
}

.legal-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
    text-align: left;
}


/* =========================
   POSTS PAGES
========================= */
.post-section {
    padding: 60px 20px;
    background: #fff;
    text-align: left;
}

.post-container {
    max-width: 1000px;
    margin: auto;
}

.post-header {
    position: relative;
    margin-bottom: 40px;
}

.post-banner-img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Full black overlay */
.post-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* black overlay */
    display: flex;
    align-items: center;
    padding-left: 15px; /* spacing from left edge */
    padding-right: 15px;
    border-radius: 8px;
}

/* Title styling */
.post-header .post-header-overlay h2 {
    color: #fff; 
    font-size: 32px;
    margin: 0;
    text-align: left;
}


.post-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
    line-height: 30px;
}




.post-info h3 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50;
}

.post-title {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
}

.post-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
    text-align: left;
}

/* Button below */

.post-buttons .btn {
    display: inline-block;
    padding: 10px 18px;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    margin-top: 30px; /* small gap above */
    width: 150px;     /* fixed width similar to hero buttons */
    margin-right: 10px;
}

.post-buttons .btntwo {
    display: inline-block;
    padding: 10px 18px;
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    margin-top: 10px;
    width: 150px;
}

.post-buttons .btntwo:hover {
    background: #fff;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}

.post-buttons .btn:hover {
    background: #fff;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}



/* =========================
  Contact Us Page
========================= */
.contact-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    display: inline-block;
    padding-bottom: 15px;
}

.contact-info p {
    color: #333;
    margin: 10px 0;
    font-size: 16px;
}

.contact-details p i {
    margin-right: 10px;
    color: #000;
    font-size: 18px;
}

/* SOCIAL ICONS */
.social-links {
    margin-top: 60px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 22px;
    color: #000;
    transition: all 0.3s ease;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

.social-links a:hover {
    color: #2c3e50;
    transform: scale(1.1);
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }


    .contact-info h2 {
        border: none;
    }
    
    .social-links a {
    display: inline-block;
    margin: 0 5px;
    font-size: 22px;
    color: #000;
    transition: all 0.3s ease;
    border: 1px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}
}


