/* Reset and Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-color: #e8e8e8;
    --spacing: 20px;
    --border-radius: 8px;
    --box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--light-color);
}

.required-star {
  color: red;
  margin-right: 4px;
  font-weight: bold;
}


/* Container */
.container {
    max-width: 777px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Sections */
section {
    padding: 60px 0;
    border-top: 1px solid #eee;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 0px;
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--secondary-color), #34495e);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-top: 0px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #444;
  margin-top: 0px;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.success h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #444;
  margin-top: 0px;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-family: 'Montserrat', sans-serif;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 80px var(--spacing);
    margin-bottom: 0px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--box-shadow);
}

.hero-content {
    max-width: 777px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: var(--spacing);
}

.hero p {
    font-size: 1.2em;
    margin-bottom: calc(var(--spacing) * 2);
}

.cta-button {
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 60px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Default: first image circular */
.about img {
    border-radius: 50%;
    max-width: 175px;
    height: auto;
    box-shadow: var(--box-shadow);
}

/* Second image stays normal */
.about img.normal-img {
    border-radius: 0;        /* remove circle */
    max-width: none;         /* keep original size */
    height: auto;            /* maintain aspect ratio */
    box-shadow: none;        /* remove shadow */
}


.container img {
    display: block;
    margin: 0px auto; /* optional: center and give space */
}



/* Buttons container */
.about .contact-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Base button style */
.about .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;              /* distance between icon and text */
    padding: 8px 8px;      /* uniform size */
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    color: #fff;
    font-size: 14px;
    min-width: 140px;       /* ensure all buttons same width */
    text-align: center;
}

/* Font Awesome icon sizing */
.about .btn i {
    font-size: 16px;        /* slightly bigger icons */
}

/* Phone button */
.about .phone-btn {
    background-color: #4CAF50;
    cursor: default; /* not clickable */
}
.about .phone-btn:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Email button */
.about .email-btn {
    background-color: #f39c12;
}
.about .email-btn:hover {
    background-color: #e08e0b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* LinkedIn button */
.about .linkedin-btn {
    background-color: #0077b5;
}
.about .linkedin-btn:hover {
    background-color: #005582;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive tweaks */
@media (max-width: 500px) {
    .about .contact-buttons {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    .about .btn {
        width: fit-content;   /* buttons shrink to content width */
        justify-content: center;
        padding: 6px 12px;
        font-size: 14px;
    }
}



.about-text {
    flex: 1;
}

/* Experience Section */
.experience {
    padding: 60px 0;
    background-color: white;
}

.experience h2 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0px;
    color: var(--secondary-color);
}

.experience ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.experience li {
    padding: 6px 0; /* Adjust this value to control vertical space */
    margin: 0;
    line-height: 1.3; /* Adjust this value to control line height */
    display: flex;
    align-items: center;
}

.experience li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}


/* Tab buttons container */
.tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

/* Each row of tab buttons */
.tab-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Tab buttons */
.tab-buttons .tab-button {
    flex: 1;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    font-size: 1em;
    box-shadow: var(--box-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Press effect for all devices (desktop + mobile) */
.tab-buttons .tab-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Active tab button */
.tab-buttons .tab-button.active {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.tab-button.active {
    background-color: var(--secondary-color);
}

/* Tab content */
.tab-content {
    display: none;
    padding: 5px;
    background-color: var(--seconday-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.tab-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.tab-content.active {
    display: block;
}

/* Tab content lists */
.tab-content ul {
    list-style: none;
    padding: 0;
}

.tab-content li {
    padding: 6px 0 6px 20px; /* Top, Right, Bottom, Left */
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-content li:last-child {
    border-bottom: none;
}

.tab-content i {
    color: var(--primary-color);
    font-size: 1.2em;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: white);
    text-align: center;
}

.testimonial {
    max-width: 777px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
}

.contact-form {
    max-width: 777px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

.contact-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary-color), #34495e);
    color: white;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {

	body {
    font-size: 14px; /* or 0.875rem, adjust as needed */
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
    .container {
        padding: 0 1px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px;
    }

    .tab-row {
        justify-content: center;
    }

     .tab-buttons .tab-button:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
}

/* Press effect for all devices (desktop + mobile) */
.tab-buttons .tab-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Active tab button */
.tab-buttons .tab-button.active {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

    /* Force line breaks for multi-line text */
    .tab-button span {
        display: block;
        line-height: 1.2;
  }
